On Mon, May 27, 2002 at 11:12:47AM +0900, Jun Kuriyama wrote:
> At Wed, 22 May 2002 18:54:02 +0000 (UTC),
> David O'Brien wrote:
> > -ggdb means to use the most "expressive" debugging format the compiler
> > knows about.  You want -gstabs+ or -gstabs
> 
> I cannot debug a kernel with -gstabs+ option.  Any hints about this?
> 
> % cd sys/i386/compile/WATERBLUE
> % grep gdb ../../conf/WATERBLUE
> makeoptions     DEBUG=-gstabs+          #Build kernel with gdb(1) debug symbols

Add it to COPTFLAGS.  Why are you adding it to DEBUG?
``grep DEBUG /sys/conf/*.mk /sys/conf/Makefile.*'' shows DEBUG is not
used this way.

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message

Reply via email to