kdb
[Top] [All Lists]

Re: Saving KDB Session Dump

To: Gina and Steve Williamson <ginaisha@xxxxxxxxxx>
Subject: Re: Saving KDB Session Dump
From: Keith Owens <kaos@xxxxxxx>
Date: Thu, 17 Apr 2003 13:08:54 +1000
Cc: kdb@xxxxxxxxxxx
In-reply-to: Your message of "Tue, 15 Apr 2003 22:13:04 EST." <001401c303c6$190a01c0$0200a8c0@ginacasa>
Sender: kdb-bounce@xxxxxxxxxxx
On Tue, 15 Apr 2003 22:13:04 -0500, 
Gina and Steve Williamson <ginaisha@xxxxxxxxxx> wrote:
>This is a multi-part message in MIME format.

Please use plain text.  The HTML you sent looked like spam.

>I am new to kernel debugging in Linux.  I have KDB setup and running on
>the system that I am debugging.  I am trying to save the output of the
>debug session to a text file (register dumps, unassemble data, single
>step data), but have been challenged in determing how to do this.  Any
>help would be appreciated.

If the system is still usable when you type 'go' and the amount of data
is smaller than the kernel log buffer then set LOGGING=1.  The data
will be written to the kernel log and then to syslog after you type
'go'.  In most cases, a debug session has no working I/O so the kernel
log is not written to disk and is lost.  Then you have to use a serial
console (Documentation/serial-console.txt), debug over the serial line
and capture the output on a second machine.


<Prev in Thread] Current Thread [Next in Thread>