Module Name:    src
Committed By:   sevan
Date:           Thu Feb 22 14:37:53 UTC 2018

Modified Files:
        src/share/man/man7: sysctl.7

Log Message:
Document ddb.dumpstack sysctl
Remove the mention of ddb.onpanic=2 as that functionality was removed with the
introduction of ddb.dumpstack.

Heads up by <pgoyette>

To generate a diff of this commit:
cvs rdiff -u -r1.122 -r1.123 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.122 src/share/man/man7/sysctl.7:1.123
--- src/share/man/man7/sysctl.7:1.122	Thu Feb 22 14:32:50 2018
+++ src/share/man/man7/sysctl.7	Thu Feb 22 14:37:53 2018
@@ -1,4 +1,4 @@
-.\"	$NetBSD: sysctl.7,v 1.122 2018/02/22 14:32:50 sevan Exp $
+.\"	$NetBSD: sysctl.7,v 1.123 2018/02/22 14:37:53 sevan Exp $
 .\" Copyright (c) 1993
 .\"	The Regents of the University of California.  All rights reserved.
@@ -2450,6 +2450,7 @@ privilege may change the value.
 .Bl -column "Second level name" "integer" "Changeable" -offset indent
 .It Sy Second level name Ta Sy Type Ta Sy Changeable
 .It ddb.commandonenter	string	yes
+.It ddb.dumpstack 	integer yes
 .It ddb.fromconsole	integer	yes
 .It ddb.lines	integer	yes
 .It ddb.maxoff	integer	yes
@@ -2463,6 +2464,9 @@ privilege may change the value.
 .Bl -tag -width "123456"
 .It Li ddb.commandonenter
 If not empty, a command to be executed on each enter to the DDB.
+.It Li ddb.dumpstack
+A value of 1 causes a stack trace to be printed on entering ddb from a panic.
+A value of 0 disables this behaviour. The default value is 1.
 .It Li ddb.fromconsole ( Dv 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.
@@ -2474,8 +2478,7 @@ The maximum symbol offset.
 The maximum output line width.
 .It Li ddb.onpanic ( Dv DDBCTL_ONPANIC )
 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 1 causes the system to enter DDB on panic.
 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.

Reply via email to