Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 29 Mar 1999 21:17:59 -0800 (PST)
From:      Archie Cobbs <archie@whistle.com>
To:        grog@lemis.com (Greg Lehey)
Cc:        paul@originative.co.uk, freebsd-hackers@FreeBSD.ORG
Subject:   Re: Debug kernel by default? (was: Taking panic dumps (was: 3.1-S TABLE dies on 40+ connects (resolved)))
Message-ID:  <199903300517.VAA32313@bubba.whistle.com>
In-Reply-To: <19990330123136.H413@lemis.com> from Greg Lehey at "Mar 30, 99 12:31:36 pm"

next in thread | previous in thread | raw e-mail | index | archive | help
Greg Lehey writes:
> How about this:
> 
>  - make config assume the -g option by default.
>  - add a new option (-s) to config to generate stripped objects.
>  - add a target install.gdb to the Makefile.  This target will install
>    the unstripped kernel for people who want to use ddb.
>  - modifiy the existing install target to make a stripped copy of the
>    kernel and to install it.

Sounds good to me. One thing we do at Whistle is install both kernel
(stripped version) and kernel.debug (unstripped version) in the
root partition.. it's handy when you don't still have the original
debug kernel for getting symboled and line numbered stack traces.

Just a thought.

-Archie

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


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




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