From owner-freebsd-current Sat Dec 27 18:31:17 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id SAA08113 for current-outgoing; Sat, 27 Dec 1997 18:31:17 -0800 (PST) (envelope-from owner-freebsd-current) Received: from freebie.lemis.com (gregl1.lnk.telstra.net [139.130.136.133]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id SAA08101 for ; Sat, 27 Dec 1997 18:31:09 -0800 (PST) (envelope-from grog@lemis.com) Received: (from grog@localhost) by freebie.lemis.com (8.8.8/8.8.7) id NAA06501; Sun, 28 Dec 1997 13:00:40 +1030 (CST) (envelope-from grog) Message-ID: <19971228130040.23145@lemis.com> Date: Sun, 28 Dec 1997 13:00:40 +1030 From: Greg Lehey To: Julian Elischer Cc: Chris Timmons , Bruce Evans , freebsd-current@FreeBSD.ORG Subject: Re: no boot: config -g and options DDB References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.84e In-Reply-To: ; from Julian Elischer on Sat, Dec 27, 1997 at 05:20:38PM -0800 Organisation: LEMIS, PO Box 460, Echunga SA 5153, Australia Phone: +61-8-8388-8286 Fax: +61-8-8388-8725 Mobile: +61-41-739-7062 WWW-Home-Page: http://www.lemis.com/~grog Sender: owner-freebsd-current@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk On Sat, Dec 27, 1997 at 05:20:38PM -0800, Julian Elischer wrote: > On Sat, 27 Dec 1997, Chris Timmons wrote: >> On Sun, 28 Dec 1997, Bruce Evans wrote: >> >>>> but it boots when I strip -x the kernel like it says to do in the >>>> handbook. "never mind" :) >>> >>> It shouldn't say that. -x breaks everything that needs static symbols, >>> e.g., systat. -d is correct. >> >> It says that in the section about remote debugging using gdb. Should I be >> able to boot a kernel that is config -g'd with options DDB and not >> stripped? Actually I'm not really trying to do remote kernel debugging >> with gdb. >> >> I was thinking that I would want to config -g to make a more interesting >> dump when I call panic from in ddb, allowing me to do some poking later >> with KGDB. >> >> How does BRUCE do it??? :) > > you don't need to BOOt it > just have it around when you look at hte core dump.. > boot a stripped (with -d) version of the same kernel. It's useful to have the complete symbols if you're using ddb online. I've just tryed it on a 16 MB 486, and it works. It left 4.5 MB over--enough, I suppose, for the system to run. Greg