Subject: Re: How to read a crash file?
To: None <current-users@netbsd.org>
From: Christian Biere <christianbiere@gmx.de>
List: current-users
Date: 11/17/2006 03:50:07
Paul Goyette wrote:
> My amd64 -current system just crashed and rebooted a few minutes ago. 
> Upon reboot, savecore wrote a rather large netbsd.0.core.gz file.  But 
> gdb doesn't seem to know how to process it, not even after un-gziping, 
> claiming that the file is not a valid core file.
> 
> Is there some magic incantation to make gdb read this file?  I'd like
> to find out why my system crashed!  :)

It used to be "target kcore /path/to/coredump" but kcore is kvm now. I
think you have to gunzip in either case. 

-- 
Christian