From mboxrd@z Thu Jan 1 00:00:00 1970 From: Eli Zaretskii To: dan@cgsoftware.com Cc: jtc@redback.com, gdb@sourceware.cygnus.com, binutils@sourceware.cygnus.com Subject: Re: stabs vs. dwarf-2 for C programs Date: Thu, 12 Apr 2001 23:37:00 -0000 Message-id: <200104130637.CAA07371@delorie.com> References: <5mwv8pzgvt.fsf@jtc.redback.com> X-SW-Source: 2001-04/msg00097.html > From: Daniel Berlin > 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?