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

From: Daniel Jacobowitz
Date: Fri Nov 12 2004 - 10:22:01 EST


On Fri, Nov 12, 2004 at 03:15:18PM +0000, David Howells wrote:
>
> > FYI, "gcc -g" _should_ cause .S files to include assembler debugging
> > information. If it doesn't, that's a bug in your port.
>
> It appears you may have a point. Running FRV compiler with gcc -g on a .S file
> does not pass any sort of -g flag to the assembler. It does with the i386
> compiler.

You're probably not selecting the right assembler to feature-test at
build time. Check these:
&& defined(HAVE_AS_GDWARF2_DEBUG_FLAG) && defined(HAVE_AS_GSTABS_DEBUG_FLAG)

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