From: Elena Zannoni <ezannoni@redhat.com>
To: Benjamin Kosnik <bkoz@redhat.com>
Cc: gcc-bugs@gcc.gnu.org, gdb@sources.redhat.com
Subject: Re: -feliminate-dwarf2-dups unusable?
Date: Tue, 17 Dec 2002 13:20:00 -0000 [thread overview]
Message-ID: <15871.38424.617278.645505@localhost.redhat.com> (raw)
In-Reply-To: <200212172107.gBHL7ax07371@fillmore.constant.com>
Benjamin Kosnik writes:
>
> 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
I think we are not doing this yet. There was some initial work done by
Jim Blandy, but I am not sure where that is at right now.
Read the thread at:
http://sources.redhat.com/ml/gdb/2002-11/msg00040.html
Elena
next prev parent reply other threads:[~2002-12-17 21:20 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-12-17 13:08 Benjamin Kosnik
2002-12-17 13:20 ` Elena Zannoni [this message]
2002-12-17 13:56 ` Benjamin Kosnik
2002-12-17 14:01 ` Elena Zannoni
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=15871.38424.617278.645505@localhost.redhat.com \
--to=ezannoni@redhat.com \
--cc=bkoz@redhat.com \
--cc=gcc-bugs@gcc.gnu.org \
--cc=gdb@sources.redhat.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox