This is the mail archive of the gdb@sources.redhat.com mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: stabs vs. dwarf-2 for C programs


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]