Re: [PATCH] Pass -g to assembler under CONFIG_DEBUG_INFO

From: Jan Engelhardt
Date: Thu Jul 12 2007 - 04:24:26 EST



On Jul 11 2007 16:53, Andrew Morton wrote:
>On Wed, 11 Jul 2007 16:40:29 -0700 (PDT)
>Linus Torvalds <torvalds@xxxxxxxxxxxxxxxxxxxx> wrote:
>
>> On Wed, 11 Jul 2007, Andrew Morton wrote:
>> >
>> > OK, thanks. So I ended up with the below as a probably-2.6.23 thing:
>> > ...
>> > +AFLAGS += $(call as-option, -gdwarf)
>>
>> "-gdwarf2?"
>>
>
>yep, that's what the kgdb tree was using - I'll fix it up.

I am all for using -ggdb/-ggdb2/-ggdb3 instead.



Jan
--
-
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/