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

From: Daniel Jacobowitz
Date: Fri Nov 12 2004 - 10:00:36 EST


On Tue, Nov 02, 2004 at 11:21:36AM +0000, David Howells wrote:
>
> > 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.

FYI, "gcc -g" _should_ cause .S files to include assembler debugging
information. If it doesn't, that's a bug in your port.

*asm_debug:
%{gstabs*:--gstabs}%{!gstabs*:%{g*:--gdwarf2}}

--
Daniel Jacobowitz
-
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/