Source-Changes-HG archive

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

[src/trunk]: src/share/man/man9 Update crashme(9) man page for recent additio...



details:   https://anonhg.NetBSD.org/src/rev/ae046fa0f475
branches:  trunk
changeset: 1027564:ae046fa0f475
user:      riastradh <riastradh%NetBSD.org@localhost>
date:      Sat Dec 11 19:16:48 2021 +0000

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

diffstat:

 share/man/man9/crashme.9 |  26 +++++++++++++++++++++-----
 1 files changed, 21 insertions(+), 5 deletions(-)

diffs (42 lines):

diff -r 28fa3a9716b8 -r ae046fa0f475 share/man/man9/crashme.9
--- a/share/man/man9/crashme.9  Sat Dec 11 17:05:50 2021 +0000
+++ b/share/man/man9/crashme.9  Sat Dec 11 19:16:48 2021 +0000
@@ -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 @@
 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 ,



Home | Main Index | Thread Index | Old Index