diff options
author | Jim Blandy <jimb@codesourcery.com> | 2003-05-30 03:44:05 +0000 |
---|---|---|
committer | Jim Blandy <jimb@codesourcery.com> | 2003-05-30 03:44:05 +0000 |
commit | bfe51b1e3243254cb8636401d9cbc7afdc30c2d1 (patch) | |
tree | 00a108b04aceb44cf3d12f60cfb3ef9af70b73d7 /gdb/ppc-linux-tdep.c | |
parent | f37f01cff7bc48542f62a22e47c3e7453b591f13 (diff) | |
download | fsf-binutils-gdb-bfe51b1e3243254cb8636401d9cbc7afdc30c2d1.zip fsf-binutils-gdb-bfe51b1e3243254cb8636401d9cbc7afdc30c2d1.tar.gz fsf-binutils-gdb-bfe51b1e3243254cb8636401d9cbc7afdc30c2d1.tar.bz2 |
Use gdbarch methods for solib stuff on PowerPC Linux.
* config/powerpc/tm-linux.h (IN_SOLIB_CALL_TRAMPOLINE,
SKIP_TRAMPOLINE_CODE): #undef these, so the gdbarch methods will
show through.
* ppc-linux-tdep.c (ppc_linux_init_abi): Register
IN_SOLIB_CALL_TRAMPOLINE and SKIP_TRAMPOLINE_CODE methods here,
giving the same effect as the #definitions above.
Diffstat (limited to 'gdb/ppc-linux-tdep.c')
-rw-r--r-- | gdb/ppc-linux-tdep.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/gdb/ppc-linux-tdep.c b/gdb/ppc-linux-tdep.c index 9284751..44a5b81 100644 --- a/gdb/ppc-linux-tdep.c +++ b/gdb/ppc-linux-tdep.c @@ -746,6 +746,10 @@ ppc_linux_init_abi (struct gdbarch_info info, set_solib_svr4_fetch_link_map_offsets (gdbarch, ppc_linux_svr4_fetch_link_map_offsets); } + + /* Shared library handling. */ + set_gdbarch_in_solib_call_trampoline (gdbarch, in_plt_section); + set_gdbarch_skip_trampoline_code (gdbarch, find_solib_trampoline_target); } void |