HomeFreeBSD

Implement a `show panic` command to DDB which will helpfully print the

Description

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.

Obtained from: projects/vnet
MFC after: 2 weeks
Sponsored by: The FreeBSD Foundation
Reviewed by: jhb (comment only on the show panic initally)
Differential Revision: https://reviews.freebsd.org/D4527

Details

Provenance
bzAuthored on
Reviewer
jhb
Differential Revision
D4527: Add ddb show panicstr command.
Parents
rS301521: Re-add two whitespace lines to get the diff clean to head.
Branches
Unknown
Tags
Unknown