Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 10 Sep 2005 22:29:02 -0400
From:      Kris Kennaway <kris@obsecurity.org>
To:        Garance A Drosihn <drosih@rpi.edu>
Cc:        cvs-src@FreeBSD.org, src-committers@FreeBSD.org, cvs-all@FreeBSD.org, "David E. O'Brien" <obrien@FreeBSD.org>, Nate Lawson <nate@root.org>
Subject:   Re: cvs commit: src/sys/conf kern.post.mk
Message-ID:  <20050911022901.GA3090@xor.obsecurity.org>
In-Reply-To: <p0623090bbf493c4e4b1e@[128.113.24.47]>
References:  <20050911002229.51F4916A471@hub.freebsd.org> <432382BC.5080105@root.org> <p0623090bbf493c4e4b1e@[128.113.24.47]>

next in thread | previous in thread | raw e-mail | index | archive | help

--7AUc2qLy4jB3hD7Z
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Sat, Sep 10, 2005 at 10:01:15PM -0400, Garance A Drosihn wrote:
> 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 h=
ave
> >>  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.
>=20
> 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.

Likewise, I also find this change very useful.  When I'm juggling a
few dozen panics on a few dozen machines with a few dozen different
customized source trees, it's hard to keep track of all the
kernel.debugs.  Now I don't have to.

Also, now we won't have to throw away panic reports from users who
didn't think to save their kernel.debug, and the quality of bug
reports can increase.

Kris

--7AUc2qLy4jB3hD7Z
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2 (FreeBSD)

iD8DBQFDI5ZtWry0BWjoQKURAlQbAKDrFkWXLEqWCaMGEUIbaMe3TsODUACfYZ+2
Jdf8+sUf5vd2GeHtjP4ROoI=
=aS5o
-----END PGP SIGNATURE-----

--7AUc2qLy4jB3hD7Z--



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