odd issues with DDB vs GDB

John Baldwin jhb at freebsd.org
Thu Sep 16 12:38:02 UTC 2010


On Wednesday, September 15, 2010 8:01:19 pm Patrick Mahan wrote:
> All,
> 
> I am trying to debug a system hang occurring on my HP Proliant G6 running some of our
> kernel software.  I am seeing that under certain test loads, the system will hang-up
> complete, no keyboard, no console, etc.  I suspect it is some of the kernel code that
> I have inherited that contains a lot of locking (lots of data structure, each having
> their own mutex lock (sleepable)).

You need to use 'kgdb' rather than 'gdb' on kernel.debug.

-- 
John Baldwin


More information about the freebsd-hackers mailing list