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
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.
--
Daniel Jacobowitz
CodeSourcery