Subject: Re: CFLAGS
To: Matthias Scheler <firstname.lastname@example.org>
From: Steven M. Bellovin <email@example.com>
Date: 11/09/2007 15:57:58
On Fri, 9 Nov 2007 14:16:19 +0000
Matthias Scheler <firstname.lastname@example.org> 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.
Perhaps 'make install' in the kernel build directory should copy
both /netbsd and /netbsd.gdb to /, and savecore should copy both
--Steve Bellovin, http://www.cs.columbia.edu/~smb