Subject: Re: How to read a crash file?
To: None <current-users@netbsd.org>
From: Jukka Salmi <j+nbsd@2006.salmi.ch>
List: current-users
Date: 12/10/2006 11:04:30
Jukka Salmi --> current-users (2006-12-10 10:53:15 +0100):
> Juan RP --> current-users (2006-12-10 10:39:51 +0100):
[...]
> > s/kcore/core/ iirc.
>
> I tried this, but it doesn't seem to work:
>
> (gdb) target core netbsd.1.core
> "/opt/crash/netbsd.1.core" is not a core dump: File format not recognized
> (gdb)
Target kvm seems to work, but it's not very useful:
(gdb) target kvm netbsd.1.core
#0 0x00000000 in ?? ()
(gdb) bt
#0 0x00000000 in ?? ()
#1 0xc0aea000 in ?? ()
#2 0x00001000 in ?? ()
#3 0x00000073 in ?? ()
#4 0x04d2c000 in ?? ()
#5 0x3fefc000 in ?? ()
#6 0x3b1d0000 in ?? ()
#7 0x00000001 in ?? ()
#8 0x002d96a0 in ?? ()
#9 0x00000000 in ?? ()
(gdb)
Any hints?
Regards, Jukka
--
bashian roulette:
$ ((RANDOM%6)) || rm -rf ~