Subject: Re: How to read a crash file?
To: None <current-users@netbsd.org>
From: Paul Goyette <paul@whooppee.com>
List: current-users
Date: 11/17/2006 05:20:43
>> Well, there is no "target kvm" but "target kcore" still exists.  But it
>> doesn't work - whether or not I supply a pathname, it complains
>
>> 	No kernel exec file specified
>
> Did you start gdb like this?
>
> gdb /path/to/netbsd

Yes:

quicky:paul {115} gdb netbsd.0.core
GNU gdb 5.3nb1
Copyright 2002 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB.  Type "show warranty" for details.
This GDB was configured as "x86_64--netbsd"..."/home/paul/netbsd.0.core": not in executable format: 
File format not recognized

(gdb) target kcore
No kernel exec file specified
(gdb)

----------------------------------------------------------------------
|   Paul Goyette   | PGP DSS Key fingerprint: |  E-mail addresses:   |
| Network Engineer | FA29 0E3B 35AF E8AE 6651 |  paul@whooppee.com   |
|                  | 0786 F758 55DE 53BA 7731 | pgoyette@juniper.net |
----------------------------------------------------------------------