From owner-cvs-src@FreeBSD.ORG Sun Sep 11 21:58:51 2005 Return-Path: X-Original-To: cvs-src@FreeBSD.org Delivered-To: cvs-src@FreeBSD.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id A279F16A41F; Sun, 11 Sep 2005 21:58:51 +0000 (GMT) (envelope-from kris@obsecurity.org) Received: from fileserver.fields.utoronto.ca (fileserver.fields.utoronto.ca [128.100.216.10]) by mx1.FreeBSD.org (Postfix) with ESMTP id A7B6543D48; Sun, 11 Sep 2005 21:58:49 +0000 (GMT) (envelope-from kris@obsecurity.org) Received: from fields.fields.utoronto.ca (fields.localdomain [192.168.216.11]) by fileserver.fields.utoronto.ca (8.12.8/8.12.8/Fields 6.0) with ESMTP id j8BLwn0r022490 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Sun, 11 Sep 2005 17:58:49 -0400 Received: from obsecurity.dyndns.org (localhost.localdomain [127.0.0.1]) by fields.fields.utoronto.ca (8.12.8/8.12.8/Fields WS 6.0) with ESMTP id j8BLwm6P026635; Sun, 11 Sep 2005 17:58:48 -0400 Received: by obsecurity.dyndns.org (Postfix, from userid 1000) id 62CB451379; Sun, 11 Sep 2005 17:58:48 -0400 (EDT) Date: Sun, 11 Sep 2005 17:58:48 -0400 From: Kris Kennaway To: Nate Lawson Message-ID: <20050911215848.GB96773@xor.obsecurity.org> References: <20050911002229.51F4916A471@hub.freebsd.org> <432382BC.5080105@root.org> <20050911023622.GA51877@dragon.NUXI.org> <4324A665.3070405@root.org> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="v9Ux+11Zm5mwPlX6" Content-Disposition: inline In-Reply-To: <4324A665.3070405@root.org> User-Agent: Mutt/1.4.2.1i Cc: cvs-src@FreeBSD.org, src-committers@FreeBSD.org, cvs-all@FreeBSD.org, obrien@FreeBSD.org Subject: Re: cvs commit: src/sys/conf kern.post.mk X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 11 Sep 2005 21:58:51 -0000 --v9Ux+11Zm5mwPlX6 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Sun, Sep 11, 2005 at 02:49:25PM -0700, Nate Lawson wrote: > David O'Brien wrote: > >On Sat, Sep 10, 2005 at 06:05:00PM -0700, 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=20 > >>>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 ha= ve > >>>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 /.= =20 > >>If I'm running a debug kernel, it is based on the latest version of=20 > >>kernel.debug in my kernel compile dir and I know to find it there. > > > > > >We do need this. The panic I posted yesterday happened in the 'make' > >stage of the below sequence: > > > > cd /sys//conf > > config FOO > > cd ../compile/FOO > > make clean > > make > > > >Note that the kernel.debug matching the running kernel was blown away at > >this point. > > > >I was going to just install kernel.sym instead of a kernel with symbols, > >but kgdb's usage doesn't claim to support '-s' as the previous kgdb did. > > >=20 > kernel.sym would be better since it wouldn't have the duplication that=20 > kernel and kernel.debug have. Alternately, we can make loader(8) skip=20 > symbol sections when booting and just install kernel.debug It does skip symbol sections. Kris --v9Ux+11Zm5mwPlX6 Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.2 (FreeBSD) iD8DBQFDJKiXWry0BWjoQKURAsJiAKDoFUwLBszfXsLzPvtbBQo21FMv/QCfRWrH gQ/5M5ukHkhqKHVp2hyqQxE= =BSq9 -----END PGP SIGNATURE----- --v9Ux+11Zm5mwPlX6--