This is the mail archive of the
gdb@sourceware.org
mailing list for the GDB project.
Re: stabs difference gcc 2.95.3 -> 3.4.3
At 10:20 30.03.2006 -0500, Daniel Jacobowitz wrote:
>On Thu, Mar 30, 2006 at 04:33:11PM +0200, Fabian Cenedese wrote:
>> Well, as the currently used compiler 2.95.3 is even older and I supposed
>> that the stabs format should be compatible I didn't especially try the
>> newest versions but I may now.
>
>The C++ front end has gotten much more sophisticated. Namespace
>debugging works in DWARF-2, but fails badly in stabs.
>
>> The -g is given to gcc, I don't know if that gets passed on to as. But so
>> was the setup with the older compiler as well, where it worked.
>
>GCC 2.95.x predates assembler -g support; GCC 3.4.x doesn't.
Can I somehow prevent gcc from relaying it to as? Something like
-Wa,(no, don't do -g)? I didn't find a matching parameter on
http://sourceware.org/binutils/docs-2.16/as/Invoking.html#Invoking
But then again it isn't mentioned either that as would take -g.
bye Fabi