Current-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: gdb cannot read kernel crash dump

On Aug 17, 2011, at 11:06 PM, Julio Merino wrote:

> Hello,
> My virtual machine running amd64 -current just crashed and rebooted
> while building a set of packages.  I found a crash dump in /var/crash
> and attempted to load it with gdb (after gunzipping it, of course), but
> gdb complains:
> netbsd# gdb -q netbsd.1 netbsd.1.core
> (no debugging symbols found)
> "/var/crash/netbsd.1.core" is not a core dump: File format not recognized
> (gdb)
> Might this have been caused by gcc 4.5 changes?
> Thanks.

What if you use
        gdb netbsd.1
        target kvm netbsd.1.core
Juergen Hannken-Illjes - - TU Braunschweig 

Home | Main Index | Thread Index | Old Index