Support stepping through PPC PLT with securePLT.
authorMichael Eager <eager@eagercon.com>
Mon, 30 Jan 2012 17:09:40 +0000 (17:09 +0000)
committerMichael Eager <eager@eagercon.com>
Mon, 30 Jan 2012 17:09:40 +0000 (17:09 +0000)
commit5d853008e8e605f547c0eada69359d483099e73e
tree475c408f7ac371ba4a53aff19db93ec5c56d765b
parentf0d1a53ee3440a219c4d8bc003bbb81c8ec5e3d2
Support stepping through PPC PLT with securePLT.

* configure.tgt (powerpc-*-linux*): Add glibc-tdep.o.
* ppc-linux-tdep.c: Include glibc-tdep.h.
(powerpc32_plt_stub, powerpc32_plt_stub_so): Add PLT stub templates.
(powerpc_linux_in_plt_stub): New function.
(powerpc_linux_in_dynsym_resolve_code): New function.
(ppc_skip_trampoline_code): New function.
(ppc_linux_init_abi): Use PPC specific functions rather than generic.
Use glibc_skip_solib_resolver.
gdb/ChangeLog
gdb/configure.tgt
gdb/ppc-linux-tdep.c