Subject: Re: DEBUG/DIAGNOSTIC/LOCKDEBUG by default
To: None <tech-kern@NetBSD.org>
From: Valeriy E. Ushakov <uwe@stderr.spb.ru>
List: tech-kern
Date: 11/06/2007 20:51:15
On Tue, Nov 06, 2007 at 17:41:26 +0100, Joerg Sonnenberger wrote:

> 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
> :-)

Don't our elf loaders only load program segments marked as LOAD,
i.e. netbsd.gdb would boot just fine as-is and the only downside would
be extra disk/network traffic?

SY, Uwe
-- 
uwe@stderr.spb.ru                       |       Zu Grunde kommen
http://snark.ptc.spbu.ru/~uwe/          |       Ist zu Grunde gehen