Where is my debugging information?

Kris Kennaway kris at obsecurity.org
Sat Feb 12 02:42:15 GMT 2005


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?

How are you running kgdb?  You need to point it at the kernel.debug
that will be somewhere under your /usr/obj/.

Kris
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-current/attachments/20050211/dfa15786/attachment.bin


More information about the freebsd-current mailing list