GDB broken?
Daniel O'Connor
doconnor at gsoft.com.au
Fri Apr 16 00:57:02 PDT 2004
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
More information about the freebsd-current
mailing list