Re: Hopefully Simple Question on Debugging Kernel Modules

From: Doug Barton <dougb_at_FreeBSD.org>
Date: Mon, 23 Feb 2009 10:51:10 -0800
Scott Long wrote:
> Ah, I was still using 'CFLAGS+= -g".  Thanks to you and Mr. Campbell for
> the tip.

IME in order to make sure I get debug symbols in everything (base and
ports) I need to include both of these:

CFLAGS+=        -ggdb
DEBUG_FLAGS+=   -ggdb

BTW, I've always used -ggdb out of habit, is using just -g preferable
for some reason?


hope this helps,

Doug

-- 

    This .signature sanitized for your protection
Received on Mon Feb 23 2009 - 17:51:22 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:39:42 UTC