Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 28 Mar 1999 13:33:44 -0800 (PST)
From:      Archie Cobbs <archie@whistle.com>
To:        grog@lemis.com (Greg Lehey)
Cc:        freebsd-net@FreeBSD.ORG, freebsd-hackers@FreeBSD.ORG
Subject:   Re: Debug kernel by default? (was: Taking panic dumps (was: 3.1-STABLE dies on 40+ connects (resolved)))
Message-ID:  <199903282133.NAA72802@bubba.whistle.com>
In-Reply-To: <19990328114410.U53452@lemis.com> from Greg Lehey at "Mar 28, 99 11:44:10 am"

next in thread | previous in thread | raw e-mail | index | archive | help
Greg Lehey writes:
> In that connection, any comments about changing the default way of
> building a kernel to create a debug kernel and a stripped copy, and
> install the stripped copy?  It would require about 10 MB more storage
> and a little more time to build the kernel, but since kgdb is useless
> without the debug symbols, and disk space is cheap, it seems to me
> that it would be worthwhile.

Building debug kernels takes up a lot more space, which some people
may not have.

How about simply fixing 'config -g' to generate a Makefile that
does the extra step of copying and stripping the kernel and installing
the stripped version kernel.strip instead of kernel?

Then we can modify the handbook et.al. to say "You should build a
debug kernel with 'config -g' if at all possible..". All other steps
remain the same.

Eventually, when/if it's determined that 'config -g' should be the
default, we can make it so easily. But that should be a separate step..

-Archie

___________________________________________________________________________
Archie Cobbs   *   Whistle Communications, Inc.  *   http://www.whistle.com


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-net" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199903282133.NAA72802>