Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 16 Feb 2005 14:21:16 -0600
From:      Jon Noack <noackjr@alumni.rice.edu>
To:        Christian Jachmann <Jachmann@unitix.org>
Cc:        Emil Mikulic <emikulic@dmr.ath.cx>
Subject:   Re: Where is my debugging information?
Message-ID:  <4213AB3C.4040001@alumni.rice.edu>
In-Reply-To: <20050215215714.GA26675@hurx.thc>
References:  <20050213174915.GA97313@hurx.thc> <20050213224653.317675D07@ptavv.es.net> <20050215215714.GA26675@hurx.thc>

next in thread | previous in thread | raw e-mail | index | archive | help
On 02/15/05 15:57, Christian Jachmann wrote:
> On Sun, Feb 13, 2005 at 02:46:53PM -0800, Kevin Oberman wrote:
>>>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. 
> 
> Hmm
> 
>>makeoptions     DEBUG=-g still works fine. It's in NOTES as of about an
> 
> lets see:
> 
> hurx# uname -a
> FreeBSD hurx.thc 5.3-STABLE FreeBSD 5.3-STABLE #3: Sun Feb 13 18:45:23 CET 2005     jachmann@hurx.thc:/usr/src/sys/i386/compile/MY  i386
> 
> hurx# grep '$FreeBSD' /usr/src/sys/i386/conf/NOTES
> # $FreeBSD: src/sys/i386/conf/NOTES,v 1.1168.2.2 2004/10/24 17:42:08 scottl Exp $
> 
> ...no, nothing in there 
> 
> hurx# grep DEBUG /usr/src/sys/i386/conf/NOTES
> options         NPX_DEBUG       # enable npx debugging
> options         VESA_DEBUG
> # ACPI_DEBUG enables the use of the debug.acpi.level and debug.acpi.layer
> # Intel ACPICA code.  (Note that the Intel code must also have USE_DEBUGGER
> options         ACPI_DEBUG
> # DRM_DEBUG: include debug printfs, very slow
> options         DRM_DEBUG
> options         WLDEBUG         # enables verbose debugging output
> options         TWA_DEBUG               # 0-10; 10 prints the most messages.
> options         SAFE_DEBUG      # enable debugging support: hw.safe.debug
> options         SX_DEBUG
> options         DEBUG_SVR4      # enable verbose debugging
> options         PECOFF_DEBUG
> options         KBDIO_DEBUG=2
> options         PSM_DEBUG=1
> hurx# 
> 
> no makepotions DEBUG in my 5.3-STABLE NOTES

As mentioned elsewhere in the thread, it's in /sys/conf/NOTES.  Starting 
with 5.0, the old architecture dependent LINT file has been split in 
architecture independent (/sys/conf/NOTES) and dependent 
(/sys/${ARCH}/conf/NOTES) files.  Thus, you'll find it in 
/sys/${ARCH}/conf/LINT on 4.x.

Here's the commit that renamed LINT to NOTES from ~4.5 years ago:
http://docs.freebsd.org/cgi/mid.cgi?200006132228.PAA97611

Here's the commit that split NOTES into architecture 
independent/dependent files from ~3 years ago:
http://docs.freebsd.org/cgi/mid.cgi?200204031809.g33I9Hj41673

Jon



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