Stabs+ debug bloat from gcc 2.95.3 to gcc 3.3.1

Daniel Berlin dberlin@dberlin.org
Tue Oct 7 13:57:00 GMT 2003


On Oct 7, 2003, at 2:21 AM, Philip Walford wrote:

> Hi,
>
> Our company is considering upgrading from gcc 2.95.3 to one of the 3.x
> series, but we're rather concerned by the growth in debug symbols size.
>
> Following previous discussions, I have tried the 
> -feliminate-dwarf2-dups
> (still unsupported by GDB) and -gstabs+.  Both of these are better than
> the default, but the result is still far worse than gcc 2.95.3.
>
> Can anyone help me to understand why gcc 3.3.1 (for instance) produces
> stabs+ format debug binaries that are nearly twice as large as those
> produce by gcc 2.95.3?


Because 2.95.3 didn't output much debugging info, and 3.3.1 does?
It's also likely that 2.95.3 missed information that 3.3.1 doesn't.

Michael Chastain probably has gdb test results that would say one way 
or the other.
--Dan



More information about the Gcc-help mailing list