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

Robert Watson rwatson at FreeBSD.org
Sun Sep 11 03:58:48 PDT 2005


On Sat, 10 Sep 2005, 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.

If it is decided to keep this change in the tree, then we should make sure 
that removing it is added to the "Create a -STABLE branch" directions -- 
systems as recent as early to middle 4.x have quite small roots, and 
cannot support debugging kernel information for kernel and kernel.old. 
Maintaining that upgrade path as feasible is a good idea, so if we want to 
keep around debugging kernels, we shouldn't try to do it in production 
branches that may be used on many systems with smaller disk sizes.

Robert N M Watson


More information about the cvs-src mailing list