From: Keith Seitz <keiths@redhat.com>
To: Tom Tromey <tromey@redhat.com>
Cc: Doug Evans <dje@google.com>, gdb-patches@sourceware.org
Subject: Re: [RFA] fix disassemble foo::bar::~bar
Date: Fri, 22 Feb 2013 19:43:00 -0000 [thread overview]
Message-ID: <5127CA5E.5090201@redhat.com> (raw)
In-Reply-To: <87k3q088iv.fsf@fleche.redhat.com>
On 02/22/2013 11:15 AM, Tom Tromey wrote:
> Keith> The above patch fixes Doug's test cases and also is regression-free on
> Keith> native x86_64-unknown-linux (Fedora 15).
>
> I tend to think this is preferable. At least, as long as we have to
> keep destructor_name_p.
I was only attempting to point out a simpler alternative. As you rightly
point out, though, it is debatable whether destructor_name_p is needed
at all. As it is right now (with Doug's or my patch) we get,
(gdb) p foo::~bar
name of destructor must equal name of class
How much more useful is that than
(gdb) p foo::~bar
There is no field named ~bar
IMO, the second error is at least as useful, if not more so, than what
we have now. Since destructor_name_p is only used in this one place, I
would urge you/Doug to consider just nuking it and the test in c-exp.y
> This patch is ok with me, if it includes Doug's test case, though I'd
> like to hear from Doug about it as well.
I left the choice up to Doug. It's his ball after all.
Keith
next prev parent reply other threads:[~2013-02-22 19:43 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-02-14 0:14 Doug Evans
2013-02-21 21:14 ` Tom Tromey
2013-02-21 23:58 ` Keith Seitz
2013-02-22 19:15 ` Tom Tromey
2013-02-22 19:43 ` Keith Seitz [this message]
2013-02-22 20:00 ` Tom Tromey
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=5127CA5E.5090201@redhat.com \
--to=keiths@redhat.com \
--cc=dje@google.com \
--cc=gdb-patches@sourceware.org \
--cc=tromey@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