summaryrefslogtreecommitdiffstats
path: root/share/man/man4/ddb.4
diff options
context:
space:
mode:
authorsheldonh <sheldonh@FreeBSD.org>2001-07-30 22:03:58 +0000
committersheldonh <sheldonh@FreeBSD.org>2001-07-30 22:03:58 +0000
commit94454e4a22b3009cb88a9d2c0e7b174776ed4e66 (patch)
treefc38cffc204264947ebe197982a515111be72eac /share/man/man4/ddb.4
parentd67a26493aa2d98099aa4e20d76f6388ccbd7bd3 (diff)
downloadFreeBSD-src-94454e4a22b3009cb88a9d2c0e7b174776ed4e66.zip
FreeBSD-src-94454e4a22b3009cb88a9d2c0e7b174776ed4e66.tar.gz
Document the debug.debugger_on_panic tunable, for those poor souls
who didn't realize that DDB_UNATTENDED just sets its starting value. This change is over 5 years late, and documents the original semantics of debug.debugger_on_panic, which may have been changed by the (again undocumented) change in rev 1.44 of kern_shutdown.c.
Diffstat (limited to 'share/man/man4/ddb.4')
-rw-r--r--share/man/man4/ddb.420
1 files changed, 20 insertions, 0 deletions
diff --git a/share/man/man4/ddb.4 b/share/man/man4/ddb.4
index 6952092..ec582bf 100644
--- a/share/man/man4/ddb.4
+++ b/share/man/man4/ddb.4
@@ -66,6 +66,10 @@
.Nd interactive kernel debugger
.Sh SYNOPSIS
.Cd options DDB
+.Pp
+To prevent activation of the debugger on kernel
+.Xr panic 9 :
+.Cd options DDB_UNATTENDED
.Sh DESCRIPTION
The
.Nm
@@ -73,6 +77,22 @@ kernel debugger has most of the features of the old kdb,
but with a more rational syntax
inspired by
.Xr gdb 1 .
+If linked into the running kernel,
+it can be invoked locally with the
+.Ql debug
+.Xr keymap 5
+action.
+The debugger is also invoked on kernel
+.Xr panic 9
+if the
+.\" XXX sysctl markup?
+.Li debug.debugger_on_panic
+.Xr sysctl 8
+MIB variable is set non-zero,
+which is the default
+unless the
+.Dv DDB_UNATTENDED
+option is specified.
.Pp
The current location is called `dot'. The `dot' is displayed with
a hexadecimal format at a prompt.
OpenPOWER on IntegriCloud