Messages in this thread | | | From | David Howells <> | Subject | Re: [PATCH 12/14] FRV: Generate more useful debug info | Date | Tue, 02 Nov 2004 11:21:36 +0000 |
| |
> Generates rejects against Sam's tree and appears to be unrelated to FRV, > yes?
I know not Sam's tree.
It's a generic thing. "gcc -g" does not cause compiled .S files to include debugging information, and -O1 optimised code is more debuggable than -O2 optimised code.
> 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?
-O1: Dunno; if they don't they're buggy, and if they don't they're buggy.
-Wa,--gdwarf2: No, no and no.
I can move the -Wa flag back into the frv arch if you insist, but moving the -O1 flag there is more tricky, since it'd then be overridden in master Makefile.
David - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |