This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [rfc] Work around buggy GCC 4.1 namespace dwarf info (GCC PR c++/28460)
- From: Daniel Jacobowitz <dan at codesourcery dot com>
- To: Ulrich Weigand <uweigand at de dot ibm dot com>
- Cc: gdb-patches at sourceware dot org
- Date: Fri, 19 Mar 2010 08:58:53 -0400
- Subject: Re: [rfc] Work around buggy GCC 4.1 namespace dwarf info (GCC PR c++/28460)
- References: <201003191237.o2JCbBAr020607@d12av02.megacenter.de.ibm.com>
On Fri, Mar 19, 2010 at 01:37:11PM +0100, Ulrich Weigand wrote:
> Note that there is precendent for working around buggy GCC debug info
> generation in serious cases already ...
My position is that we should work around broken debug info in any
compiler that someone cares enough to submit a maintainable workaround
for. The goal of GDB is to help people debug, not to process DWARF.
>
> The following patch works around the problem for me.
> Tested on powerpc-linux, fixes (most) C++ test case failures.
>
> Any comments? Does anybody see a simpler way to work around the problem?
This looks pretty simple (and OK) to me.
--
Daniel Jacobowitz
CodeSourcery