Re: stabs vs. dwarf-2 for C programs

Eli Zaretskii
2001-04-12T23:37:00Z

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