Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 28 Dec 1997 13:00:40 +1030
From:      Greg Lehey <grog@lemis.com>
To:        Julian Elischer <julian@whistle.com>
Cc:        Chris Timmons <skynyrd@opus.cts.cwu.edu>, Bruce Evans <bde@zeta.org.au>, freebsd-current@FreeBSD.ORG
Subject:   Re: no boot: config -g and options DDB
Message-ID:  <19971228130040.23145@lemis.com>
In-Reply-To: <Pine.BSF.3.95.971227172000.22759G-100000@current1.whistle.com>; from Julian Elischer on Sat, Dec 27, 1997 at 05:20:38PM -0800
References:  <Pine.BSF.3.96.971227163221.5475A-100000@opus.cts.cwu.edu> <Pine.BSF.3.95.971227172000.22759G-100000@current1.whistle.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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



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