Subject: Re: Getting information out of crash dump
To: Martin J. Laubach <>
From: Hubert Feyrer <>
List: tech-kern
Date: 04/26/1999 13:06:01
On Mon, 26 Apr 1999, Martin J. Laubach wrote:
> | asparagus:1 [~/local/tmp3] % gdb netbsd
>   which isn't really saying all that much, is it. Is there a magic
> incantation to actually get useful data out the dump?

Yes - call gdb with "gdb netbsd.gdb".

For that, you need to make a kernel compiled with -g first: add
"makeoptions DEBUG=-g" to your kernel config file, rebuild the kernel.
Put the resulting "netbsd" into /, and if it crashes use the resulting
crash dump on "netbsd.gdb". You will probably not want to actually put the
netbsd.gdb into /netbsd.

 - Hubert

NetBSD - better for your uptime than Viagra