Date: Wed, 4 Feb 2004 13:42:41 +0300 From: Nikita Danilov <Nikita@Namesys.COM> To: "M. Warner Losh" <imp@bsdimp.com> Cc: freebsd-hackers@freebsd.org Subject: Re: Kernel Debugging Message-ID: <16416.52385.492153.911070@laputa.namesys.com> In-Reply-To: <20040203.132334.88004112.imp@bsdimp.com> References: <401FD0C6.3000606@spinnakernet.com> <20040203.132334.88004112.imp@bsdimp.com>
next in thread | previous in thread | raw e-mail | index | archive | help
M. Warner Losh writes: > In message: <401FD0C6.3000606@spinnakernet.com> > Sridhar Chellappa <schellap@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. > > Warner Nikita.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?16416.52385.492153.911070>