Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 27 May 2004 19:36:39 -0400
From:      David Magda <dmagda@ee.ryerson.ca>
To:        Doug White <dwhite@gumbysoft.com>
Cc:        Robert Watson <rwatson@freebsd.org>
Subject:   Re: how to interpret crash?
Message-ID:  <B3C75498-B036-11D8-A04B-000A95B96FF8@ee.ryerson.ca>
In-Reply-To: <20040527154625.S53810@carver.gumbysoft.com>
References:  <Pine.NEB.3.96L.1040526173125.20947I-100000@fledge.watson.org> <D2A8A9D7-AF80-11D8-A04B-000A95B96FF8@ee.ryerson.ca> <20040527154625.S53810@carver.gumbysoft.com>

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

On May 27, 2004, at 18:51, Doug White wrote:

> If you put this line in your kernel config it should generate the
> kernel.debug:
>
> makeoptions		DEBUG=-g

Yes, I have it that already.

> You don't need the actual kernel.debug to boot with, just the image 
> around
> so when you run gdb -k it can pull the symbols out. Otherwise, the
> installed kernel is stripped.  On -CURRENT, there's a
> /sys/$arch/compile/$kernelname.debug that you suck in.

Yes, but I sometimes clean out my compile / object directory and so 
when I need the debugging kernel it's not there (and I may have 
cvsup'ed my source tree). It would be nice if a debugging kernel is 
sitting there beside the kernel that I booted.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?B3C75498-B036-11D8-A04B-000A95B96FF8>