Subject: Re: help.
To: Andrew S. Clapp <andrew@sedona.net>
From: Leo Weppelman <leo@wau.mis.ah.nl>
List: netbsd-bugs
Date: 03/25/1996 23:10:27
> 
> What can I do to debug a kernel panic?
> I have a core file.
Try: gdb -k /var/crash/netbsd.0 /var/crash/netbsd.0.core

If this works (I'm not sure about the port you're talking about), the
usual gdb commands apply. The 'bt' command is often very useful. If the
stack trace looks bogus due to the large pc-offsets given at each function,
it is a good idea to replace the '-x' linkflag in the kernel makefile with
'-S' (retain static symbols) and try to reproduce the crash.

Leo.