Module Name:    src
Committed By:   riastradh
Date:           Sat Dec 11 19:16:48 UTC 2021

Modified Files:
        src/share/man/man9: crashme.9

Log Message:
Update crashme(9) man page for recent additions.  Reorganize slightly.


To generate a diff of this commit:
cvs rdiff -u -r1.2 -r1.3 src/share/man/man9/crashme.9

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/man9/crashme.9
diff -u src/share/man/man9/crashme.9:1.2 src/share/man/man9/crashme.9:1.3
--- src/share/man/man9/crashme.9:1.2	Wed Jan  9 09:48:44 2019
+++ src/share/man/man9/crashme.9	Sat Dec 11 19:16:48 2021
@@ -1,4 +1,4 @@
-.\" $NetBSD: crashme.9,v 1.2 2019/01/09 09:48:44 wiz Exp $
+.\" $NetBSD: crashme.9,v 1.3 2021/12/11 19:16:48 riastradh Exp $
 .\"
 .\" Copyright (c) 2019 Matthew R. Green
 .\" All rights reserved.
@@ -88,12 +88,28 @@ subsystem:
 Must be set to 1 for any
 .Nm
 node to be executed.
+.El
+.Pp
+The following
+.Xr sysctl 8
+nodes trigger crashes in different ways when written:
+.Bl -tag -width "123456" -offset indent
 .It Ic debug.crashme.panic
-Basic panic node.
+Call
+.Xr panic 9 .
 .It Ic debug.crashme.null_deref
-Dereference
-.Dv NULL
-node.
+Dereference a null pointer.
+.It Ic debug.crashme.null_jump
+Call a null function pointer, i.e., jump to the instruction address
+zero.
+.It Ic debug.crashme.ddb
+Enter
+.Xr ddb 9
+directly by calling
+.Xr Debugger 9 .
+Requires
+.Xr options 4
+.Dv DDB .
 .El
 .Sh SEE ALSO
 .Xr options 4 ,

Reply via email to