Subject: Re: CFLAGS
To: None <tech-kern@NetBSD.org>
From: Joerg Sonnenberger <joerg@britannica.bec.de>
List: tech-kern
Date: 11/10/2007 16:29:19
On Fri, Nov 09, 2007 at 02:16:19PM +0000, Matthias Scheler wrote:
> On Thu, Nov 08, 2007 at 08:21:00PM +0100, Pavel Cahyna wrote:
> > > And use the following kernel config option, if you want the debug
> > > information:
> > > 	makeoptions DEBUG="-g"
> > 
> > ... which creates a big netbsd.gdb with debugging information and a small
> > netbsd without them.
> 
> Don't forget keep the "netbsd.gdb" around which will be very handy when
> having a look at a kernel crash dump later.

...and this was exactly why I asked if we can fix the kernel or boot
loader to drop the debugging section on load, so that you can just
install it as /netbsd and stop worrying about this question.

Joerg