Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 11 Sep 2005 10:40:31 -0700
From:      "David O'Brien" <obrien@freebsd.org>
To:        Peter Jeremy <peterjeremy@optushome.com.au>
Cc:        cvs-src@freebsd.org, src-committers@freebsd.org, cvs-all@freebsd.org, Nate Lawson <nate@root.org>
Subject:   Re: cvs commit: src/sys/conf kern.post.mk
Message-ID:  <20050911174031.GC77440@dragon.NUXI.org>
In-Reply-To: <20050911105821.GA91588@server.vk2pj.dyndns.org>
References:  <20050911002229.51F4916A471@hub.freebsd.org> <432382BC.5080105@root.org> <20050911105821.GA91588@server.vk2pj.dyndns.org>

next in thread | previous in thread | raw e-mail | index | archive | help
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@FreeBSD.org)



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20050911174031.GC77440>