This is the mail archive of the
libstdc++@gcc.gnu.org
mailing list for the libstdc++ project.
Re: debug flags (-feliminate-dwarf2-dups)
- To: Benjamin Kosnik <bkoz at redhat dot com>
- Subject: Re: debug flags (-feliminate-dwarf2-dups)
- From: Daniel Berlin <dberlin at redhat dot com>
- Date: 27 Mar 2001 22:20:05 -0500
- Cc: libstdc++ at gcc dot gnu dot org, snyder at fnal dot gov
- References: <200103280304.f2S34TH05569@fillmore.constant.com>
Benjamin Kosnik <bkoz@redhat.com> writes:
> hey scott. I noticed that you put these flags in your last email:
>
> -g -gdwarf-2 -feliminate-dwarf2-dups
>
> Seems interesting. I'm wondering if these should be just on by
> default, by changing DEBUG_FLAGS in the Makefiles.
>
> Jason? Do we have to be particular about which platforms use these
> flags?
No, it's just that gdb can't debug things with -feliminate-dwarf2-dups
on yet.
I basically had to rewrite large portions of the dwarf2 reader because it makes
stupid assumptions (though i can't fault this, because it's based on
the dwarf1 reader, where these assumptions are valid), and I don't
want the hassle of trying to get the patch approved, because it
basically, well, rewrites the dwarf2 reader, making it a pain in the
ass to get approved.
If someone else wants to herd it through the gdb patch approval
process, i'll happily send it along.
>
> -benjamin
--
One time the power went out in my house and I had to use the
flash on my camera to see my way around. I made a sandwich and
took fifty pictures of my face. The neighbors thought there was
lightning in my house.