Re: GDB broken?

From: Daniel O'Connor <doconnor_at_gsoft.com.au>
Date: Fri, 16 Apr 2004 17:26:54 +0930
On Fri, 16 Apr 2004 16:54, Philip Paeps wrote:
> On 2004-04-16 14:47:29 (+0930), Daniel O'Connor <doconnor_at_gsoft.com.au> 
wrote:
> > I was helping someone test patches in -current and got a crash dump, but
> > GDB doesn't like reading it..
>
> I've also seen this happen a few times in the past.
>
> > [inchoate 14:45] /var/crash >sudo gdb -k /boot/kernel/kernel
> > /var/crash/vmcore.1 GNU gdb 5.2.1 (FreeBSD)
>
> Did you make that core by calling doadump, or by calling panic in the
> debugger?  I found that GDB will happily eat plain panic cores, but doesn't
> appear to like doadump cores.  I've only tested with two corefiles though,
> so I might be wrong.  Anyone else care to test?

It was doadump..
I had trouble with panic panic'ing and not dumping when I've tried it in the 
past :(

I'll keep it in mind though.

-- 
Daniel O'Connor software and network engineer
for Genesis Software - http://www.gsoft.com.au
"The nice thing about standards is that there
are so many of them to choose from."
  -- Andrew Tanenbaum
GPG Fingerprint - 9A8C 569F 685A D928 5140  AE4B 319B 41F4 5D17 FDD5
Received on Thu Apr 15 2004 - 22:57:02 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:37:51 UTC