Date: Mon, 23 Feb 2009 10:51:10 -0800 From: Doug Barton <dougb@FreeBSD.org> To: Scott Long <scottl@samsco.org> Cc: David Christensen <davidch@broadcom.com>, freebsd-current@freebsd.org Subject: Re: Hopefully Simple Question on Debugging Kernel Modules Message-ID: <49A2F01E.4080409@FreeBSD.org> In-Reply-To: <49A2E3FE.2070106@samsco.org> References: <5D267A3F22FD854F8F48B3D2B5238193394588D54D@IRVEXCHCCR01.corp.ad.broadcom.com> <200902231119.54925.jhb@freebsd.org> <49A2D86F.1000509@samsco.org> <200902231257.28060.jhb@freebsd.org> <49A2E3FE.2070106@samsco.org>
next in thread | previous in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?49A2F01E.4080409>