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

David O'Brien obrien at freebsd.org
Sun Sep 11 10:40:37 PDT 2005


On Sun, Sep 11, 2005 at 08:58:22PM +1000, Peter Jeremy wrote:
> On Sat, Sep 10, 2005 at 06:05:00PM -0700, Nate Lawson wrote:
> >David E. O'Brien wrote:
> >>  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.
> >
> >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.
> 
> I'd agree with Nate here.  I agree that the debug kernel is worth
> keeping but it's not needed in /.  If you want to install it, how
> about installing it in /var/crash.

How do I go about doing that?  Copy kernel.debug to /var/crash?  That
allows only a single kernel to be debugable.  There is no unque filename
I can think of that gives us what putting the symbols beside the kernel
does.

If it helps get better bug reports from users in -CURRENT (the
in-development version), isn't it worth a little disk space.

-- 
-- David  (obrien at FreeBSD.org)


More information about the cvs-all mailing list