Nikita at Namesys.COM
Wed Feb 4 02:42:50 PST 2004
M. Warner Losh writes:
> In message: <401FD0C6.3000606 at spinnakernet.com>
> Sridhar Chellappa <schellap at spinnakernet.com> writes:
> : How do we debug a freeBSD kernel ? Do we have something similar to
> : "KGDB" that linux offers ?
> Ironically, we've had kgdb for a number of years longer than Linux.
> Actually, it is ironic that linux has a in-kernel debugger given
> Linus' strong resistance to it for years.
As a matter of fact, kgdb is not part of the "mainline" kernel
maintained by Linus. It is available as a separate patch(-set),
included, for example, into -mm series.
> There's also ddb that can be used for a lower level of debugging w/o
> the need for a serial console.
More information about the freebsd-hackers