cvs commit: src/sys/conf kern.post.mk

Garance A Drosihn drosih at rpi.edu
Sat Sep 10 19:01:19 PDT 2005


At 6:05 PM -0700 9/10/05, Nate Lawson wrote:
>David E. O'Brien wrote:
>>obrien      2005-09-11 00:22:21 UTC
>>
>>   FreeBSD src repository
>>
>>   Modified files:
>>     sys/conf             kern.post.mk   Log:
>>   For HEAD, install a kernel with debug information if DEBUG is a kernel
>>   config option.  It is too easy to loose the build directory and not have
>>   symbols for kgdb to read.
>>     Revision  Changes    Path
>>   1.84      +4 -17     src/sys/conf/kern.post.mk
>
>I disagree with this change.  We do not need to waste the space
>in /. If I'm running a debug kernel, it is based on the latest
>version of kernel.debug in my kernel compile dir and I know to
>find it there.

Fwiw, I've been burned by building a debug kernel, only to have
removed the original compile-directory for that kernel by the time I
actually *needed* the debug symbols.  It's one thing if you're building
a debug kernel because you know you're going to spend the next hour
debugging some change.  It's another if you're building a debug kernel
because your machine might panic sometime in the next two or three
weeks.

I'm not sure this change was the best idea to address that, but some
change along these lines would be nice.  Or is there some other knob
which already exists and I simply don't know about?  I have my own
ways to deal with this, but I'm sure that I am not the only one who
has been burned by this (and I am *sure*, because I have friends who
have also been burnt by this).

-- 
Garance Alistair Drosehn            =   gad at gilead.netel.rpi.edu
Senior Systems Programmer           or  gad at freebsd.org
Rensselaer Polytechnic Institute    or  drosih at rpi.edu


More information about the cvs-src mailing list