diff options
author | njl <njl@FreeBSD.org> | 2007-08-09 20:14:35 +0000 |
---|---|---|
committer | njl <njl@FreeBSD.org> | 2007-08-09 20:14:35 +0000 |
commit | 6fbfdc29284a9679b2564c699957e1b35dd0c36d (patch) | |
tree | 92b1e138479abdf58ffb6d430d9c68f33dfbd4fe /share | |
parent | 3e954dbc055d1799a92b99f305a9becfeec7a491 (diff) | |
download | FreeBSD-src-6fbfdc29284a9679b2564c699957e1b35dd0c36d.zip FreeBSD-src-6fbfdc29284a9679b2564c699957e1b35dd0c36d.tar.gz |
Add "show sysregs" command to ddb. On i386, this gives gdt, idt, ldt,
cr0-4, etc. Support should be added for other platforms that have a
different set of registers for system use.
Loosely based on: OpenBSD
Approved by: re
Diffstat (limited to 'share')
-rw-r--r-- | share/man/man4/ddb.4 | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/share/man/man4/ddb.4 b/share/man/man4/ddb.4 index 62de79a..488c75d 100644 --- a/share/man/man4/ddb.4 +++ b/share/man/man4/ddb.4 @@ -59,7 +59,7 @@ .\" .\" $FreeBSD$ .\" -.Dd October 27, 2006 +.Dd August 6, 2007 .Dt DDB 4 .Os .Sh NAME @@ -522,6 +522,12 @@ The support of the modifier depends on the machine. If not supported, incorrect information will be displayed. .Pp +.It Ic show Cm sysregs +Show system registers (e.g., +.Li cr0-4 +on i386.) +Not present on some platforms. +.Pp .It Ic show Cm geom Op Ar addr If the .Ar addr |