Re: 2.6.0-test3-mm1

From: Sam Ravnborg
Date: Wed Aug 13 2003 - 15:23:17 EST


On Mon, Aug 11, 2003 at 11:26:36AM -0700, George Anzinger wrote:
> >that patch sets DEBUG_INFO to y by default, even if whether DEBUG_KERNEL
> >nor KGDB is enabled. The attached patch changes this to enable DEBUG_INFO
> >by default only if KGDB is enabled.
>
> Looks good to me, but.... just what does this turn on? Its been a
> long time and me thinks a wee comment here would help me remember next
> time.

DEBUG_INFO add "-g" to CFLAGS.
Main reason to introduce this was that many architectures always use
"-g", so a config option seemed more appropriate.
I do not agree that this should be dependent on KGDB.
To my knowledge -g is useful also without using kgdb.

Sam
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/