kdb
[Top] [All Lists]

Re: help

To: kaos@xxxxxxxxxxxxxxxxx (Keith Owens)
Subject: Re: help
From: Scott Lurndal <slurn@xxxxxxxxxxx>
Date: Mon, 17 Jul 2000 10:09:24 -0700 (PDT)
Cc: hclai@xxxxxxxxxxxxxxxxx (Hung-Chang Lai), kdb@xxxxxxxxxxx
In-reply-to: <2211.963805866@xxxxxxxxxxxxxxxxxxxxxx> from "Keith Owens" at Jul 17, 2000 01:51:06 PM
Sender: owner-kdb@xxxxxxxxxxx
> 
> On Mon, 17 Jul 2000 11:14:10 +0800, 
> "Hung-Chang Lai" <hclai@xxxxxxxxxxxxxxxxx> wrote:
> >How can I enter kdb after I recompile kernel and set up serial console?
> 
> Control-A on the serial console.

Note that Control-A will only cause entry to the kernel debugger
after the serial port has been opened for the first time (e.g. by getty); 
prior to that, you must use the 'kdb' flag on the LILO line and set
breakpoints at appropriate points in the startup code.

> 
> >And I want to use kdb to trace some modules.
> 
> See the ss (singlestep) command.  Note that kdb v0.6 and 2.2 kernels is
> not being supported at the moment, all our efforts are directed at kdb
> v1.3 and 2.[34] kernels.

Note also that many module symbols will not be available to kdb as they
aren't exported by the module loader commands.

scott

> 


<Prev in Thread] Current Thread [Next in Thread>
  • help, Hung-Chang Lai
    • Re: help, Keith Owens
      • Re: help, Scott Lurndal <=