Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 11 Apr 1999 13:48:36 +0200 (CEST)
From:      Wilko Bulte <wilko@yedi.iaf.nl>
To:        dillon@apollo.backplane.com (Matthew Dillon)
Cc:        hackers@freebsd.org
Subject:   Re: Annoying debug-kernel config messages
Message-ID:  <199904111148.NAA00980@yedi.iaf.nl>
In-Reply-To: <199904102115.OAA01764@apollo.backplane.com> from Matthew Dillon at "Apr 10, 1999  2:15:30 pm"

next in thread | previous in thread | raw e-mail | index | archive | help
As Matthew Dillon wrote ...
>    I am getting wholely sick of this blasted config message.   If you are
>    going to print the message, print it once and be done with it.  Not
>    every time I config!  I'd get rid of the message entirely, in fact.

It was useful to me the first time. Then it became annoying.

Interestingly enough the 'usage' is outdated:

p100#config -?
config: illegal option -- ?
usage: config [-gpr] sysname

as it does not mention -s

>    Also, if you guys insist of making 'make' generate a debug kernel called
>    'kernel.debug' by default, at LEAST objcopy it to 'kernel' to generate
>    the non-debug version during the main 'make' procedure rather then
>    during the 'make install' procedure.  Not all of us use make install to
>    install new kernels. 
> 
>    I've gone from having to cp/strip to having to objcopy.  My life is not 
>    made easier.
> 
>    I don't mind generating both a debug and non-debug kernel by default.  But
>    it must be done in the correct fashion.

Why both? Takes quite some extra time on slower machines. If people are
going after a bug needing a full 'symbolised' kernel let them run the
correct config invocation.

I suggest putting the new config behaviour in UPDATING and remove the
message.

> apollo:/usr/src/sys/i386/conf# config TEST2
> Building kernel with full debugging symbols.  Do		<<<<<<
> "config -s TEST2" for historic partial symbolic support.	<<<<<<
> To install the debugging kernel, do make install.debug		<<<<<<
> Don't forget to do a ``make depend''
> Kernel build directory is ../../compile/TEST2

Groeten / Cheers,
Wilko
_     ______________________________________________________________________
 |   / o / /  _  				Arnhem, The Netherlands
 |/|/ / / /( (_) Bulte 				WWW  : http://www.tcja.nl
_______________________ Powered by FreeBSD ___  http://www.freebsd.org _____


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?199904111148.NAA00980>