Kernel Debugging

M. Warner Losh imp at bsdimp.com
Tue Feb 3 12:24:10 PST 2004


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.

There's also ddb that can be used for a lower level of debugging w/o
the need for a serial console.

Warner


More information about the freebsd-hackers mailing list