Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/share/man/man7 Document ddb.dumpstack sysctl
details: https://anonhg.NetBSD.org/src/rev/1062f3802ae0
branches: trunk
changeset: 359730:1062f3802ae0
user: sevan <sevan%NetBSD.org@localhost>
date: Thu Feb 22 14:37:53 2018 +0000
description:
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>
diffstat:
share/man/man7/sysctl.7 | 9 ++++++---
1 files changed, 6 insertions(+), 3 deletions(-)
diffs (37 lines):
diff -r 35a78b8c31c1 -r 1062f3802ae0 share/man/man7/sysctl.7
--- a/share/man/man7/sysctl.7 Thu Feb 22 14:32:50 2018 +0000
+++ b/share/man/man7/sysctl.7 Thu Feb 22 14:37:53 2018 +0000
@@ -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 @@
.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 @@
.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 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.
Home |
Main Index |
Thread Index |
Old Index