From: Ross Biro (bir7@leland.Stanford.EDU)
Date: 08/07/93


From: bir7@leland.Stanford.EDU (Ross Biro)
Subject: Re: kernel debugger
Date: 7 Aug 1993 05:09:20 GMT

In article <EICHIN.93Aug6195819@tweedledumber.cyGNUs.com> eichin@tweedledumber.cyGNUs.com (Mark Eichin) writes:
>>> 1. Is there a kernel debugger in netBSD and linux?
> Pace Willson(sp?) did a port of the Mach DDB to his own
>BSDnet2 port; I took that and ported it to Jolitz 386BSD 0.0, and it
>was included in 0.1. Could use a terminal or the hardware console; you
>could set breakpoints and do symbolic printing and disassembly. I've
>never seen a debugger at quite this level under Linux (though I'd like
>to, as I no longer use BSD :-)
>

        If you have a second machine and a serial port, it's possible to
run gdb on the Linux kernel, and do everything that gdb can do to a process.
That includes symbolic printing, stack traces, and the rest.