Mirror of the gdb-patches mailing list
 help / color / mirror / Atom feed
From: Paul Hilfinger <hilfingr@gnat.com>
To: gdb-patches@sourceware.org
Subject: Re: [RFA] Reference value coercion
Date: Sat, 20 May 2006 11:15:00 -0000	[thread overview]
Message-ID: <20060520101014.084CF48CBAF@nile.gnat.com> (raw)


Daniel,

> The patch is not right for C++.  It works for your test, because Child
> has a single base class, and therefore the values of the Child& and
> Parent& are the same; but in more complicated cases, this is no longer
> true.  The reference needs to be adjusted.

Yeah.  Somehow I knew it couldn't be that simple.

> Also, there's some trouble with the test case: using "runto" restarts
> the inferior, so runto_main followed by runto is redundant.  I think
> you just want to use runto.  The step_for_stub thing is ancient, and
> I don't think the testsuite works on systems that would require it any
> more.

Umm.  Well then you might want to look at ref-types.exp, from which I
stole most of this code.

...

> Does the attached work for Ada?

Yes, thanks, it does.

PNH


             reply	other threads:[~2006-05-20 10:10 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-05-20 11:15 Paul Hilfinger [this message]
2006-07-13  4:32 ` Daniel Jacobowitz
2006-07-17  2:06   ` Paul Hilfinger
  -- strict thread matches above, loose matches on Subject: below --
2006-03-31 14:01 Paul Hilfinger
2006-05-05 23:19 ` Daniel Jacobowitz

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=20060520101014.084CF48CBAF@nile.gnat.com \
    --to=hilfingr@gnat.com \
    --cc=Hilfinger@adacore.com \
    --cc=gdb-patches@sourceware.org \
    /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