Re: [PATCH 12/14] FRV: Generate more useful debug info

From: Andrew Morton
Date: Mon Nov 01 2004 - 19:31:36 EST


dhowells@xxxxxxxxxx wrote:
>
> The attached patch permits the generation of more useful debugging information
> by reducing the optimisation level and by telling the assembler to produce
> debug info too.

Generates rejects against Sam's tree and appears to be unrelated to FRV,
yes?

I'd prefer that this be worked through Sam's tree as a separate enhancement
please.


+ifdef CONFIG_DEBUG_INFO
+CFLAGS += -g -O1
+AFLAGS += -Wa,--gdwarf2
+ASFLAGS += -Wa,--gdwarf2
+else

Are you sure that all architectures want this? And that their toolchains
will continue to work correctly? And that it doesn't break older gcc's and
that kgdb will continue to work correctly, etc?

I'm not...
-
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/