Mirror of the gdb mailing list
 help / color / mirror / Atom feed
* -feliminate-dwarf2-dups unusable?
@ 2002-12-17 13:08 Benjamin Kosnik
  2002-12-17 13:20 ` Elena Zannoni
  0 siblings, 1 reply; 4+ messages in thread
From: Benjamin Kosnik @ 2002-12-17 13:08 UTC (permalink / raw)
  To: gcc-bugs, gdb


I've been experimenting with -gdwarf-2 -feliminate-dwarf2-dups in libstdc++. 
This combination of flags reduces the shared binary by 400k.

-g -O2
-rwxrwxr-x    1 bkoz     bkoz         4.0M libstdc++.so.5.0.2*

-gdwarf-2 -feliminate-dwarf2-dups -O2
-rwxrwxr-x    1 bkoz     bkoz         3.6M libstdc++.so.5.0.2*

The build and testsuite complete without incident, but then when I try to
debug, I get:

(gdb) file a.out
Reading symbols from a.out...DW_FORM_strp pointing outside of .debug_str section

This is with mainline gdb, and the dcarlton branch, with top-of-tree
gcc, on x86/linux.

Any ideas?

-benjamin


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2002-12-17 22:01 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-12-17 13:08 -feliminate-dwarf2-dups unusable? Benjamin Kosnik
2002-12-17 13:20 ` Elena Zannoni
2002-12-17 13:56   ` Benjamin Kosnik
2002-12-17 14:01     ` Elena Zannoni

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox