From: David Carlton <carlton@math.stanford.edu>
To: Daniel Jacobowitz <drow@mvista.com>
Cc: gdb-patches@sources.redhat.com
Subject: Re: [rfa] annotate blocks with C++ namespace information
Date: Tue, 11 Mar 2003 22:43:00 -0000 [thread overview]
Message-ID: <ro165qpplrs.fsf@jackfruit.Stanford.EDU> (raw)
In-Reply-To: <20030311212313.GA18680@nevyn.them.org>
On Tue, 11 Mar 2003 16:23:13 -0500, Daniel Jacobowitz <drow@mvista.com> said:
> On Tue, Mar 11, 2003 at 01:14:16PM -0800, David Carlton wrote:
> In this case Stanford is not contributing the code; contribution is a
> copyright related action, and they never had the copyright.
Fair enough.
>> Yes; it should be easy enough to rewrite, say, find_last_component
>> using cp_find_first_component. The only reason why I didn't do
>> that (other than laziness) was that then I'd want to go figure out
>> a situation where find_last_component actually gets called, to make
>> sure I didn't make a boneheaded mistake while doing so, and I
>> didn't feel like doing that. But I'll definitely add a FIXME
>> comment about that?
> OK. find_last_component gets called for dealing with stub methods, if
> I recall correctly why I wrote it.
Yes, that's right. And all I know about them is that I just spent an
afternoon investigating a bug dealing with them, didn't succeed in
fixing the bug, and felt dirty afterwards.
>> Do any demanglers put in spaces after 'operator'? I hope not...
> I thought one of them did, but I might have been mistaken.
You could easily be right: I haven't done a lot of GCC v2 checking.
I'll look into that, and, if so, add a guard for a possible extra
space in cp_find_first_component. (Otherwise, the gdb_assert in
cp_find_first_component could leave people unable to load C++ files
with certain constructs mixing templates and operators.) Not that
there's any justification for having the different demanglers
producing different output, but that's another issue entirely...
David Carlton
carlton@math.stanford.edu
next prev parent reply other threads:[~2003-03-11 22:43 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-02-22 1:47 David Carlton
2003-03-11 17:11 ` Daniel Jacobowitz
2003-03-11 21:14 ` David Carlton
2003-03-11 21:23 ` Daniel Jacobowitz
2003-03-11 22:43 ` David Carlton [this message]
2003-03-11 22:59 ` David Carlton
2003-03-11 23:01 ` Daniel Jacobowitz
2003-03-17 22:33 ` David Carlton
2003-04-14 19:22 ` Elena Zannoni
2003-04-14 21:33 ` David Carlton
2003-04-15 2:08 ` Daniel Jacobowitz
2003-04-15 2:26 ` Elena Zannoni
2003-04-15 3:07 ` David Carlton
2003-04-15 23:12 ` David Carlton
2003-04-16 1:22 ` Elena Zannoni
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=ro165qpplrs.fsf@jackfruit.Stanford.EDU \
--to=carlton@math.stanford.edu \
--cc=drow@mvista.com \
--cc=gdb-patches@sources.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