Subject: Re: DEBUG/DIAGNOSTIC/LOCKDEBUG by default
To: None <tech-kern@NetBSD.org>
From: Joerg Sonnenberger <firstname.lastname@example.org>
Date: 11/06/2007 17:41:26
On Wed, Nov 07, 2007 at 03:24:40AM +1100, matthew green wrote:
> note that currently if you build a kernel with -g you end up with
> a large netbsd.gdb and smaller netbsd. the latter is what you boot
> but the former you feed to gdb.
I know. The question was, if we can teach either the boot loader or the
kernel to drop the ELF debugging sections and just install the
netbsd.gdb all the time.
I bet I am not the only developer to have a "relatively good" kernel
around and one for testing, it is annoying if a bug in the former
appears when the build directory has been updated a few times in between