Mirror of the gdb-patches mailing list
 help / color / mirror / Atom feed
From: "Ulrich Weigand" <uweigand@de.ibm.com>
To: ratmice@gmail.com (Matt Rice)
Cc: brobecker@adacore.com (Joel Brobecker), gdb-patches@sourceware.org
Subject: Re: [rfc] Fix Obj-C method calls on 64-bit PowerPC
Date: Tue, 29 Sep 2009 00:50:00 -0000	[thread overview]
Message-ID: <200909290050.n8T0o1dF004541@d12av02.megacenter.de.ibm.com> (raw)
In-Reply-To: <8ba6bed40909281541y1d9455fas873a602caf2508fa@mail.gmail.com> from "Matt Rice" at Sep 28, 2009 03:41:49 PM

Matt Rice wrote:
> On Mon, Sep 28, 2009 at 9:32 AM, Joel Brobecker <brobecker@adacore.com> wro=
> te:
> >> =A0 =A0 =A0 * eval.c (evaluate_subexp_standard) [OP_OBJC_MSGCALL]: Suppo=
> rt
> >> =A0 =A0 =A0 platforms that use function descriptors. =A0Prefer to use fu=
> nction
> >> =A0 =A0 =A0 pointer types instead of function types.
> >> =A0 =A0 =A0 * linespec.c (decode_objc): Support function descriptors. =
> =A0Fully
> >> =A0 =A0 =A0 initialize SAL result.
> >> =A0 =A0 =A0 * objc-lang.c (find_methods): Support function descriptors.
> >> =A0 =A0 =A0 Do not require function symbol to point to text section.
> >>
> >> =A0 =A0 =A0 * ppc-sysv-tdep.c (ppc64_sysv_abi_push_dummy_call): When cal=
> ling
> >> =A0 =A0 =A0 via a function pointer, use the descriptor it point to.
> > =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =
> =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0^^^^^ points ;-)
> >
> > Seems fine to me. Given that this fixes SEGVs, we should consider it
> > for inclusion in the 7.0 branch. You might want to ask ratmice@gmail.com
> > to give it a test before installing on 7.0, but I don't think it would
> > buy us much given that you already tested on s390. At least the risk
> > is limited to ObjC.
> 
> I ran this and the tests against cvs head on x86-64
> Additionally I did some tests for things by hand that aren't yet
> covered by the testsuite
> 
> all seemed fine, thanks for looking into this.

Thanks for testing!  I've now checked this in to head and branch.

Bye,
Ulrich

-- 
  Dr. Ulrich Weigand
  GNU Toolchain for Linux on System z and Cell BE
  Ulrich.Weigand@de.ibm.com


  reply	other threads:[~2009-09-29  0:50 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-09-27 21:49 Ulrich Weigand
2009-09-28 17:51 ` Joel Brobecker
2009-09-28 22:41   ` Matt Rice
2009-09-29  0:50     ` Ulrich Weigand [this message]
2009-09-29 15:44       ` [ia64] Regression: " Jan Kratochvil
2009-09-29 16:07         ` Ulrich Weigand
2009-09-29 16:17           ` Jan Kratochvil
2009-09-29 16:16         ` Joel Brobecker
2009-09-29 16:30           ` Jan Kratochvil
2009-09-29 16:40             ` Joel Brobecker
2009-09-29 19:11               ` Jan Kratochvil
2009-09-29 16:45           ` Ulrich Weigand
2009-09-29 19:07             ` [commit] Avoid Obj-C test timeouts due to symbols not found Ulrich Weigand
2009-09-29 17:27         ` [rfc] Move PC in-range check in objc-lang.c:find_methods (Re: [ia64] Regression) Ulrich Weigand
2009-09-29 17:46           ` Joel Brobecker
2009-09-29 21:08         ` [ia64] Regression: Re: [rfc] Fix Obj-C method calls on 64-bit PowerPC 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=200909290050.n8T0o1dF004541@d12av02.megacenter.de.ibm.com \
    --to=uweigand@de.ibm.com \
    --cc=brobecker@adacore.com \
    --cc=gdb-patches@sourceware.org \
    --cc=ratmice@gmail.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