Subject: Re: How to read a crash file?
To: None <current-users@netbsd.org>
From: haad <haaaad@gmail.com>
List: current-users
Date: 12/10/2006 11:07:10
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Jukka Salmi wrote:
> Juan RP --> current-users (2006-12-10 10:39:51 +0100):
>> On Sunday 10 December 2006 10:37, Jukka Salmi wrote:
> [...]
>>>>       (gdb) target kcore netbsd.26.core
>>> Hmm, this seems to be working only with gdb 5.3. How can I do this
>>> with -current's gdb 6.5?
>>>
>>> gdb netbsd.1
>>> GNU gdb 6.5
>>> [...]
>>> (gdb) target kcore netbsd.1.core
>>> Undefined target command: "kcore netbsd.1.core".  Try "help target".
>>> (gdb) help target
>>> [...]
>>> target async -- Use a remote computer via a serial line
>>> target child -- Unix child process (started by the "run" command)
>>> target core -- Use a core file as a target
>>> target exec -- Use an executable file as a target
>>> target extended-async -- Use a remote computer via a serial line
>>> target extended-remote -- Use a remote computer via a serial line
>>> target kvm -- Use a kernel virtual memory image as a target
>>> target remote -- Use a remote computer via a serial line
>>> [...]
>> 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) 

What about target kvm I thing that  kernel core file is this.

Regards
- ---------------------------------------------------------------
Adam Hamsik
ICQ 249727910
jabber haad@jabber.org
- ---------------------------------------------------------------
There are 10 kinds of people in the world. Those who understand
binary numbers, and those who don't.
				
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (NetBSD)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFFe9xO9Wt2FT7y228RAt8eAKCLZCs6z9bNxjj6eAtm3OkGOmJlugCeOII2
plKkM8HfkSf3/1wEUMancHM=
=FH4l
-----END PGP SIGNATURE-----