stabs vs. dwarf-2 for C programs

Eli Zaretskii eliz@delorie.com
Thu Apr 12 23:37:00 GMT 2001


> From: Daniel Berlin <dan@cgsoftware.com>
> Date: 12 Apr 2001 22:54:44 -0400
> 
> jtc@redback.com (J.T. Conklin) writes:
> 
> > In general, are there any advantages for using dwarf-2 over 
> > stabs debugging symbols for C (not C++) programs?
> 
> Unless you want optimized code debugging, only space savings
> (theoretical, of course, right now. For C, anyway).

I _always_ debug optimized code (I think doing otherwise is not wise,
to put it gently).  What are the advantages of dwarf2 for debugging
optimized C code?



More information about the Binutils mailing list