Mirror of the gdb-patches mailing list
 help / color / mirror / Atom feed
From: "Ulrich Weigand" <uweigand@de.ibm.com>
To: emachado@linux.vnet.ibm.com (Edjunior Barbosa Machado)
Cc: gdb-patches@sourceware.org
Subject: Re: [PATCH] Fix PLT call stub for ppc64
Date: Wed, 07 Nov 2012 19:21:00 -0000	[thread overview]
Message-ID: <201211071921.qA7JLDSI011279@d06av02.portsmouth.uk.ibm.com> (raw)
In-Reply-To: <1352315215-30592-1-git-send-email-emachado@linux.vnet.ibm.com> from "Edjunior Barbosa Machado" at Nov 07, 2012 05:06:55 PM

Edjunior Machado wrote:

> GDB was unable to 'step' into a c/c++ function from a shared library on ppc64
> due to a change in linker that removes a load
> instruction from the PLT call stub
> (http://sourceware.org/ml/binutils/2011-07/msg00141.html). This patch fixes this
> on GDB, marking the mentioned instruction as optional, since it still might
> appear if the linker is called with '--plt-static-chain'.

Hmm, looking at the binutils patch, it seems to me that the static chain load
in the *other* PLT stubs (ppc64_standard_linkage1, ppc64_standard_linkage2)
should now also be marked as optional, shouldn't it?

Otherwise looks good to me.

Bye,
Ulrich

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


  reply	other threads:[~2012-11-07 19:21 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-11-07 19:07 Edjunior Barbosa Machado
2012-11-07 19:21 ` Ulrich Weigand [this message]
2012-11-07 20:46   ` Edjunior Barbosa Machado
2012-11-08 13:45     ` Ulrich Weigand
2012-11-08 14:28       ` Edjunior Barbosa Machado

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=201211071921.qA7JLDSI011279@d06av02.portsmouth.uk.ibm.com \
    --to=uweigand@de.ibm.com \
    --cc=emachado@linux.vnet.ibm.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