From mboxrd@z Thu Jan 1 00:00:00 1970 From: jtc@redback.com (J.T. Conklin) To: gdb@sourceware.cygnus.com Cc: binutils@sourceware.cygnus.com Subject: stabs vs. dwarf-2 for C programs Date: Thu, 12 Apr 2001 19:13:00 -0000 Message-id: <5mwv8pzgvt.fsf@jtc.redback.com> X-SW-Source: 2001-04/msg00090.html In general, are there any advantages for using dwarf-2 over stabs debugging symbols for C (not C++) programs? I did a quick test of rebuilding our system with dwarf-2 debug symbols, and found that the image file grew from 35MB to 167MB and link times nearly quadrupled, so dwarf-2 isn't looking so good so far. If I had to guess, it looks like duplicate debug info (from headers, etc.) isn't being eliminated as is done for stabs. --jtc -- J.T. Conklin RedBack Networks