Re: Where is my debugging information?

From: Kevin Oberman <oberman_at_es.net>
Date: Sun, 13 Feb 2005 14:46:53 -0800
> Date: Sun, 13 Feb 2005 18:49:15 +0100
> From: Christian Jachmann <Jachmann_at_unitix.org>
> Sender: owner-freebsd-current_at_freebsd.org
> 
> On Sat, Feb 12, 2005 at 01:35:55PM +1100, Emil Mikulic wrote:
> > All my recent kernels panic upon loading pf rules.  I worked out how to
> > get a dump out of the kernel, but now kgdb is saying "no debugging
> > symbols found"
> > 
> > My kernel config contains
> > makeoptions     DEBUG=-g
> > 
> > It was built with the standard "make kernel KERNCONF=WHATEVER"
> > 
> > What am I doing wrong?
> 
> seems that this isn't interpreted anymore..
> 
> try building the kernel using:
> 
>       config [-gp] [-d destdir] SYSTEM_NAME

No. 

makeoptions     DEBUG=-g still works fine. It's in NOTES as of about an
hour ago and my kernel build generated the debug kernel just fine.

Officially, manually running config is not supported although it usually
works fine. the only supported way of building a kernel is make
buildkernel unless I missed something.

The debug file should be in /usr/obj/usr/src/sys/CONFIG/kernel.debug
Substitute your config name for CONFIG.
-- 
R. Kevin Oberman, Network Engineer
Energy Sciences Network (ESnet)
Ernest O. Lawrence Berkeley National Laboratory (Berkeley Lab)
E-mail: oberman_at_es.net			Phone: +1 510 486-8634
Received on Sun Feb 13 2005 - 21:46:54 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:38:28 UTC