Subject: Re: drop to debugger
To: Manuel Bouyer <bouyer@antioche.eu.org>
From: Rasputin <rasputin@shikima.mine.nu>
List: netbsd-users
Date: 03/16/2002 02:40:57
* Manuel Bouyer <bouyer@antioche.eu.org> [020315 20:54]:
> On Fri, Mar 15, 2002 at 03:40:55PM +0000, Rasputin wrote:

> > Is there any way to force the kernel to drop to a debugger,
> > preferably via something like a NMI ?

> ctrl-alt-esc should do it

This is the third time in as many days I've asked a question, got
an answer, then kicked myself because I found it in the docs :) 
Thanks.

> > 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.

Cool - I'll get that sorted out first then. Thanks again.

-- 
You will think of something funnier than this to add to the fortunes.
Rasputin :: Jack of All Trades - Master of Nuns ::