Quoting "Kevin Sanders" <[EMAIL PROTECTED]> (Sun, 3 Dec 2006 08:23:24 -0800):
> On 12/3/06, Robert Watson <[EMAIL PROTECTED]> wrote: > > If using FreeBSD on i386/amd64 boxes, use PXE. There are quite a few > > "instant > > setup" web pages out there that tell you how to get it running. pxeboot > > makes > > life incredibly easy, as you can load kernels, modules, configurations, etc, > > over NFS. > > > > Robert N M Watson > > Computer Laboratory > > University of Cambridge > > Thanks for th tips everyone. My shop has all the VMware tools, and > I've used QEMU, but I prefer to develop on a real box and debug over a > serial port on a second box. I'll give pxeboot a shot tomorrow. > > While we're on this topic, what is the best way to debug kernel > modules. I would like the ability to kldload my kernel module, set a > couple break points and single step through a section of code (at > least). cd <your kernel build directory> # I'm using the old way of building make gdbinit In kgdb you can now use "getsyms" if you debug remotely (I haven't tested this) or "kldsyms" if you debug locally to load the debug symbols. Bye, Alexander. -- Groundskeepers stole the root password http://www.Leidinger.net Alexander @ Leidinger.net: PGP ID = B0063FE7 http://www.FreeBSD.org netchild @ FreeBSD.org : PGP ID = 72077137 _______________________________________________ freebsd-hackers@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-hackers To unsubscribe, send any mail to "[EMAIL PROTECTED]"