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

From: Roland McGrath
Date: Wed Jul 11 2007 - 17:30:55 EST


> Jason's kgdb tree does
>
> AFLAGS += -gdwarf2
>
> (for all architectures!) Which is better?

It makes no difference on any platform I care about. -g says "turn on the
default flavor for the target", while -gdwarf2 turns on DWARF flavor even
if the default is different. Every target I know anything in particular
about has DWARF as the default flavor anyway.


Thanks,
Roland
-
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/