odd issues with DDB vs GDB

Patrick Mahan pmahan at adaranet.com
Thu Sep 16 17:32:28 UTC 2010



John Baldwin wrote:
> 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.
>

Doh! *-(

I'm so used to gdb even though I use kgdb for looking at crash dumps.

Thanks,

Patrick


More information about the freebsd-hackers mailing list