Source-Changes-HG archive

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

[src/trunk]: src/share/man/man4 document dumpstack variable.



details:   https://anonhg.NetBSD.org/src/rev/fccfea22c4da
branches:  trunk
changeset: 359607:fccfea22c4da
user:      sevan <sevan%NetBSD.org@localhost>
date:      Sat Feb 17 01:13:07 2018 +0000

description:
document dumpstack variable.
Sort built-in variables alphabetically.

diffstat:

 share/man/man4/ddb.4 |  36 ++++++++++++++++++++----------------
 1 files changed, 20 insertions(+), 16 deletions(-)

diffs (64 lines):

diff -r 742823542996 -r fccfea22c4da share/man/man4/ddb.4
--- a/share/man/man4/ddb.4      Sat Feb 17 00:53:53 2018 +0000
+++ b/share/man/man4/ddb.4      Sat Feb 17 01:13:07 2018 +0000
@@ -1,4 +1,4 @@
-.\"    $NetBSD: ddb.4,v 1.172 2018/01/24 10:04:28 wiz Exp $
+.\"    $NetBSD: ddb.4,v 1.173 2018/02/17 01:13:07 sevan Exp $
 .\"
 .\" Copyright (c) 1997 - 2009 The NetBSD Foundation, Inc.
 .\" All rights reserved.
@@ -56,7 +56,7 @@
 .\" any improvements or extensions that they make and grant Carnegie Mellon
 .\" the rights to redistribute these changes.
 .\"
-.Dd December 28, 2017
+.Dd February 17, 2018
 .Dt DDB 4
 .Os
 .Sh NAME
@@ -1194,6 +1194,21 @@
 .Pp
 Built-in variables currently supported are:
 .Bl -tag -offset indent -width "maxwidth" -compact
+.It Va dumpstack
+If non-zero (the default),
+causes a stack trace to be printed when
+.Nm
+is entered on panic.
+.It Va fromconsole
+If non-zero (the default),
+the kernel allows to enter
+.Nm
+from the console (by break signal or special key sequence).
+If the kernel configuration option
+.D1 Cd options DDB_FROMCONSOLE=0
+is used,
+.Va fromconsole
+will be initialized to off.
 .It Va lines
 The number of lines.
 This is used by the
@@ -1230,20 +1245,9 @@
 the system to be rebooted instead of
 .Nm
 being entered.
-Other useful settings are \-1, which suppresses the stack trace before
-reboot, and 2, which causes a stack trace to be printed and
-.Nm
-to be entered.
-.It Va fromconsole
-If non-zero (the default),
-the kernel allows to enter
-.Nm
-from the console (by break signal or special key sequence).
-If the kernel configuration option
-.D1 Cd options DDB_FROMCONSOLE=0
-is used,
-.Va fromconsole
-will be initialized to off.
+Setting
+.Va onpanic
+to -1 suppresses the stack trace before reboot.
 .It Va radix
 Input and output radix.
 .It Va tabstops



Home | Main Index | Thread Index | Old Index