Subject: Re: DEBUG/DIAGNOSTIC/LOCKDEBUG by default
To: None <tech-kern@NetBSD.org>
From: Joerg Sonnenberger <email@example.com>
Date: 11/06/2007 19:15:57
On Tue, Nov 06, 2007 at 11:14:33AM -0700, Tim Rightnour wrote:
> On 06-Nov-2007 Joerg Sonnenberger wrote:
> > The size of my custom kernel grows from 5.6MB to 22.7MB,
> > but that is mostly OK. I would at least consider to make building the
> > kernel with -g the default, whether or not we install it.
> While you can get away with this on some arches, others have restrictions in
> the boot ROMs that prevent you from loading a kernel over a certain size. This
> restriction also sometimes exists in the bootloader.
I maintain the position that if we make debugging on x86, sparc and
maybe a few selected popoular other architectures easier, it is huge
win. For the real small systems you often deploy a different process
anyway, so the issue is much less relevant for those.