Added section on using `DDD' to debug crash dumps.

PR: 6980
Submitted by: Stefan Eggers <seggers@semyam.dinoco.de>
This commit is contained in:
Joseph Koshy 1998-06-19 04:35:43 +00:00
parent 3a1e6bb0f4
commit 02659c90fd
Notes: svn2git 2020-12-08 03:00:23 +00:00
svn path=/head/; revision=2967

View file

@ -1,4 +1,4 @@
<!-- $Id: kerneldebug.sgml,v 1.18 1998-05-29 22:00:49 obrien Exp $ -->
<!-- $Id: kerneldebug.sgml,v 1.19 1998-06-19 04:35:43 jkoshy Exp $ -->
<!-- The FreeBSD Documentation Project -->
<chapt><heading>Kernel Debugging<label id="kerneldebug"></heading>
@ -190,6 +190,16 @@
number.)
</descrip>
<sect1><heading>Debugging a crash dump with DDD</heading>
<p>Examining a kernel crash dump with a graphical debugger like
<tt>ddd</tt> is also possible. Add the option <tt>-k</tt> to
the <tt>ddd</tt> command line you would use normally. For example:
<tscreen><verb>
ddd -k /var/crash/kernel.0 /var/crash/vmcore.0
</verb></tscreen>
You should then be able to go about looking at the crash dump
using <tt>DDD</tt>'s graphical interface.
<sect><heading>Post-mortem Analysis of a Dump</heading>