Subject: Re: nfs panic
To: None <current-users@netbsd.org>
From: Patrick Welche <prlw1@newn.cam.ac.uk>
List: current-users
Date: 01/30/2001 17:20:57
On Mon, Jan 29, 2001 at 01:40:17PM -0800, Greywolf wrote:
> On Mon, 29 Jan 2001, Tracy Di Marco White wrote:
> 
> # I have /var/crash/netbsd.1 & /var/crash/netbsd.1.core, I'm just not
> # familiar with what to do with them yet.  (I'll accept hints.)
> 
> cd /var/crash
> gdb netbsd.1
> (gdb) target kcore netbsd.1.core
> (gdb) stack
> 
> Ostensibly it should be able to give you symbols to dereference
> as well; if you know what the "things" at (addr, addr...) are, it
> takes some doing but you should be able to determine real values
> for their contents.

Especially if you had

makeoptions     DEBUG="-g"      # compile full symbol table

in your kernel file, and can find the netbsd.gdb file in your kernel
compilation directory which corresponds to the netbsd.1 above (in which
case use netbsd.gdb instead..)

Good luck,

Patrick