This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH] Fix PLT call stub for ppc64


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]