This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [rfc] Work around buggy GCC 4.1 namespace dwarf info (GCC PR c++/28460)


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]