From owner-cvs-all@FreeBSD.ORG Sun Sep 11 02:36:23 2005 Return-Path: X-Original-To: cvs-all@FreeBSD.org Delivered-To: cvs-all@FreeBSD.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id C819D16A41F; Sun, 11 Sep 2005 02:36:23 +0000 (GMT) (envelope-from obrien@NUXI.com) Received: from dragon.NUXI.org (trang.nuxi.com [66.93.134.19]) by mx1.FreeBSD.org (Postfix) with ESMTP id 773D443D45; Sun, 11 Sep 2005 02:36:23 +0000 (GMT) (envelope-from obrien@NUXI.com) Received: from dragon.NUXI.org (obrien@localhost [127.0.0.1]) by dragon.NUXI.org (8.13.4/8.13.4) with ESMTP id j8B2aMmw052012; Sat, 10 Sep 2005 19:36:22 -0700 (PDT) (envelope-from obrien@dragon.NUXI.org) Received: (from obrien@localhost) by dragon.NUXI.org (8.13.4/8.13.1/Submit) id j8B2aMJO052011; Sat, 10 Sep 2005 19:36:22 -0700 (PDT) (envelope-from obrien) Date: Sat, 10 Sep 2005 19:36:22 -0700 From: "David O'Brien" To: Nate Lawson Message-ID: <20050911023622.GA51877@dragon.NUXI.org> References: <20050911002229.51F4916A471@hub.freebsd.org> <432382BC.5080105@root.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <432382BC.5080105@root.org> X-Operating-System: FreeBSD 7.0-CURRENT Organization: The NUXI BSD Group X-Pgp-Rsa-Fingerprint: B7 4D 3E E9 11 39 5F A3 90 76 5D 69 58 D9 98 7A X-Pgp-Rsa-Keyid: 1024/34F9F9D5 User-Agent: Mutt/1.5.9i Cc: cvs-src@FreeBSD.org, src-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: Re: cvs commit: src/sys/conf kern.post.mk X-BeenThere: cvs-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: obrien@FreeBSD.org List-Id: CVS commit messages for the entire tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 11 Sep 2005 02:36:24 -0000 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 > > 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. 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. -- -- David (obrien@FreeBSD.org)