Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/share/man/man7 Attempt to improve the documentation of ddb.o...



details:   https://anonhg.NetBSD.org/src/rev/7190d4fd8148
branches:  trunk
changeset: 766480:7190d4fd8148
user:      riz <riz%NetBSD.org@localhost>
date:      Thu Jun 23 15:57:11 2011 +0000

description:
Attempt to improve the documentation of ddb.onpanic, from options(4).

diffstat:

 share/man/man7/sysctl.7 |  9 +++++++--
 1 files changed, 7 insertions(+), 2 deletions(-)

diffs (23 lines):

diff -r 960294186f57 -r 7190d4fd8148 share/man/man7/sysctl.7
--- a/share/man/man7/sysctl.7   Thu Jun 23 13:39:40 2011 +0000
+++ b/share/man/man7/sysctl.7   Thu Jun 23 15:57:11 2011 +0000
@@ -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.



Home | Main Index | Thread Index | Old Index