cvs commit: src/sys/conf

Garance A Drosihn drosih at
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      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/
>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

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
Senior Systems Programmer           or  gad at
Rensselaer Polytechnic Institute    or  drosih at

More information about the cvs-src mailing list