Module Name: src
Committed By: riz
Date: Thu Jun 23 15:57:11 UTC 2011
Modified Files:
src/share/man/man7: sysctl.7
Log Message:
Attempt to improve the documentation of ddb.onpanic, from options(4).
To generate a diff of this commit:
cvs rdiff -u -r1.62 -r1.63 src/share/man/man7/sysctl.7
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/share/man/man7/sysctl.7
diff -u src/share/man/man7/sysctl.7:1.62 src/share/man/man7/sysctl.7:1.63
--- src/share/man/man7/sysctl.7:1.62 Fri Mar 18 16:20:12 2011
+++ src/share/man/man7/sysctl.7 Thu Jun 23 15:57:11 2011
@@ -1,4 +1,4 @@
-.\" $NetBSD: sysctl.7,v 1.62 2011/03/18 16:20:12 jruoho Exp $
+.\" $NetBSD: sysctl.7,v 1.63 2011/06/23 15:57:11 riz Exp $
.\"
.\" Copyright (c) 1993
.\" The Regents of the University of California. All rights reserved.
@@ -2198,7 +2198,12 @@
.It Li ddb.tabstops ( DDBCTL_TABSTOPS )
Tab width.
.It Li ddb.onpanic ( DDBCTL_ONPANIC )
-If non-zero, DDB will be entered if the kernel panics.
+If greater than zero, DDB will be entered if the kernel panics.
+A value of 1 causes the system to enter DDB on panic, while a value of 2
+causes the kernel to attempt to print out a stack trace before entering DDB.
+A value of 0 causes the kernel to attempt to print a stack trace, then
+reboot, while a value of -1 means neither a stack trace will be printed
+nor DDB entered.
.It Li ddb.fromconsole ( DDBCTL_FROMCONSOLE )
If not zero, DDB may be entered by sending a break on a serial
console or by a special key sequence on a graphics console.