Debugging FreeBSD running on VMware

Akshay Kawale freebsd_noob at
Sat Oct 13 19:24:58 PDT 2007


I want to attach gdb to my FreeBSD kernel (6.2 RELEASE-p8) running on VMware.
My host OS is Ubuntu Linux 7.04.

I've created a virtual serial port, which terminates in a named pipe on my host OS.
What other steps do I need to take to be able to step through and debug my kernel?
Will gdb automatically find the source code if its copied to /usr/src on my host?


- Akshay

Boardwalk for $500? In 2007? Ha! Play Monopoly Here and Now (it's updated for today's economy) at Yahoo! Games.  

More information about the freebsd-questions mailing list