>
> 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
>
|