diff options
author | hiren <hiren@FreeBSD.org> | 2016-09-16 00:14:26 +0000 |
---|---|---|
committer | hiren <hiren@FreeBSD.org> | 2016-09-16 00:14:26 +0000 |
commit | 6d45a159b0dbfb46fbfa40bf87fab0cb4028491e (patch) | |
tree | 5cb038f48a31a613bfb02edd0a887c4c2eb7bf68 /share/man/man4 | |
parent | 0042789fce224f7387a9a1e82ef4ebeddb5dd2ec (diff) | |
download | FreeBSD-src-6d45a159b0dbfb46fbfa40bf87fab0cb4028491e.zip FreeBSD-src-6d45a159b0dbfb46fbfa40bf87fab0cb4028491e.tar.gz |
MFC r301522 (by bz)
Implement a `show panic` command to DDB which will helpfully print the
panic string again if set, in case it scrolled out of the active
window. This avoids having to remember the symbol name.
Also add a show callout <addr> command to DDB in order to inspect
some struct callout fields in case of panics in the callout code.
This may help to see if there was memory corruption or to further
ease debugging problems.
No objection by: bz
Diffstat (limited to 'share/man/man4')
-rw-r--r-- | share/man/man4/ddb.4 | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/share/man/man4/ddb.4 b/share/man/man4/ddb.4 index 7a7759c..e810028 100644 --- a/share/man/man4/ddb.4 +++ b/share/man/man4/ddb.4 @@ -611,6 +611,13 @@ See the header file for more details on the exact meaning of the structure fields. .\" .Pp +.It Ic show Cm callout Ar addr +Show information about the callout structure +.Vt struct callout +present at +.Ar addr . +.\" +.Pp .It Ic show Cm cbstat Show brief information about the TTY subsystem. .\" @@ -839,6 +846,10 @@ option is specified the complete object is printed. .\" .Pp +.It Ic show Cm panic +Print the panic message if set. +.\" +.Pp .It Ic show Cm page Show statistics on VM pages. .\" |