[prev in list] [next in list] [prev in thread] [next in thread] 

List:       freebsd-hackers
Subject:    Re: Debug kernel by default? (was: Taking panic dumps (was: 3.1-S TABLE dies on 40+ connects (resolv
From:       Archie Cobbs <archie () whistle ! com>
Date:       1999-03-30 5:17:59
[Download RAW message or body]

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

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic