Address kern/36526. Note, contrary to the PR, ; command separator works as
documented in ddb(4) Document ddb.commandonenter sysctl. Note, commandonenter is not available as a variable: db{0}> print $onpanic 1 db{0}> print $commandonenter Unknown variable So document the sysctl elsewhere, not in the variables section.
This commit is contained in:
parent
6de241e7cd
commit
2e2406e56c
|
@ -1,4 +1,4 @@
|
|||
.\" $NetBSD: ddb.4,v 1.148 2012/01/12 22:22:10 skrll Exp $
|
||||
.\" $NetBSD: ddb.4,v 1.149 2012/02/12 12:43:51 sborrill 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 January 12, 2012
|
||||
.Dd February 12, 2012
|
||||
.Dt DDB 4
|
||||
.Os
|
||||
.Sh NAME
|
||||
|
@ -198,6 +198,17 @@ may be explicitly activated by the debugging code in the kernel
|
|||
if
|
||||
.Cm DDB
|
||||
is configured.
|
||||
.Pp
|
||||
Commands can be automatically run when
|
||||
.Nm
|
||||
is entered by using
|
||||
.Cd options DDB_COMMANDONENTER
|
||||
or by setting
|
||||
.Ar ddb.commandonenter
|
||||
with
|
||||
.Xr sysctl 8 .
|
||||
Multiple commands can be separated by a semi-colon.
|
||||
|
||||
.Sh COMMAND SYNTAX
|
||||
The general command syntax is:
|
||||
.Bd -ragged -offset indent
|
||||
|
|
Loading…
Reference in New Issue