Mirror of the gdb-patches mailing list
 help / color / mirror / Atom feed
From: Daniel Jacobowitz <dan@codesourcery.com>
To: Ulrich Weigand <uweigand@de.ibm.com>
Cc: gdb-patches@sourceware.org
Subject: Re: [rfc] Work around buggy GCC 4.1 namespace dwarf info (GCC PR  c++/28460)
Date: Fri, 19 Mar 2010 12:59:00 -0000	[thread overview]
Message-ID: <20100319125850.GA12263@caradoc.them.org> (raw)
In-Reply-To: <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


  reply	other threads:[~2010-03-19 12:59 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-03-19 12:37 Ulrich Weigand
2010-03-19 12:59 ` Daniel Jacobowitz [this message]
2010-03-19 19:20 ` [patch-testcase] " Jan Kratochvil
2010-03-19 20:21   ` Daniel Jacobowitz
2010-03-20  1:30   ` Tom Tromey
2010-03-21 19:42     ` Jan Kratochvil
2010-03-22 13:23   ` Ulrich Weigand
2010-03-22 16:55     ` Jan Kratochvil

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=20100319125850.GA12263@caradoc.them.org \
    --to=dan@codesourcery.com \
    --cc=gdb-patches@sourceware.org \
    --cc=uweigand@de.ibm.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