This is the mail archive of the
gdb@sourceware.org
mailing list for the GDB project.
Re: stabs vs dwarf (was: Re: Wrong address for static function in linux module )
> Date: Wed, 12 Apr 2006 11:38:09 -0400
> From: David Taylor <dtaylor@emc.com>
>
> A full build tree (build products only, no sources) is 8.7 GB with
> STABS, but 24.6 GB when built with -gdwarf-2 -feliminate-dwarf2-dups.
You know if you compiled without debug information, your build tree
would be even smaller. What matters is whether the debug info is
actually usable. For unoptimized C code, stabs is probably fine. But
for heavily optimized C++ code, it will be unusable.
Mark