Subject: Re: drop to debugger
To: Rasputin <email@example.com>
From: Manuel Bouyer <firstname.lastname@example.org>
Date: 03/15/2002 21:54:42
On Fri, Mar 15, 2002 at 03:40:55PM +0000, Rasputin wrote:
> Hi, quick question:
> Is there any way to force the kernel to drop to a debugger,
> preferably via something like a NMI ?
> The system is locking up intermittently (probably because it's CURRENT :] )
> and if I could just get it to dump core, I'd have some idea
> what was going on. Is there some kind of keypress that can do it?
ctrl-alt-esc should do it
> Related question: does adding
> makeoptions DEBUG="-g"
> to a kernel config make the runing kernel much bigger/slower,
> or does it just generate an extra image, netbsd.debug , like FreeBSD?
Yes, it generates an extra image. I think it'll also disable some
optimisation, but it's not noticeable.
Manuel Bouyer <email@example.com>