Module Name: src Committed By: sborrill Date: Sun Feb 12 12:43:52 UTC 2012
Modified Files: src/share/man/man4: ddb.4 Log Message: 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. To generate a diff of this commit: cvs rdiff -u -r1.148 -r1.149 src/share/man/man4/ddb.4 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/man4/ddb.4 diff -u src/share/man/man4/ddb.4:1.148 src/share/man/man4/ddb.4:1.149 --- src/share/man/man4/ddb.4:1.148 Thu Jan 12 22:22:10 2012 +++ src/share/man/man4/ddb.4 Sun Feb 12 12:43:51 2012 @@ -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 debug 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