aboutsummaryrefslogtreecommitdiff
path: root/gdb/ppc-linux-tdep.c
diff options
context:
space:
mode:
authorJim Blandy <jimb@codesourcery.com>2003-06-12 23:58:07 +0000
committerJim Blandy <jimb@codesourcery.com>2003-06-12 23:58:07 +0000
commit6974274f54a973c0479eb15335073512f0b26c3f (patch)
treeff0cdbc42aa43241fb664549a31745e2c8e40b7b /gdb/ppc-linux-tdep.c
parentbd918c830c1f22b8bc1dafbc402b285a6645a898 (diff)
downloadgdb-6974274f54a973c0479eb15335073512f0b26c3f.zip
gdb-6974274f54a973c0479eb15335073512f0b26c3f.tar.gz
gdb-6974274f54a973c0479eb15335073512f0b26c3f.tar.bz2
Actually finish the job started by my change of 2003-05-29.
* config/powerpc/tm-linux.h (SKIP_TRAMPOLINE_CODE): Remove the other #definition of this. (ppc_linux_skip_trampoline_code): Remove declaration. * ppc-linux-tdep.c (ppc_linux_skip_trampoline_code): Make this static. (ppc_linux_init_abi): Register it as the skip_trampoline_code method for GDBARCH.
Diffstat (limited to 'gdb/ppc-linux-tdep.c')
-rw-r--r--gdb/ppc-linux-tdep.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gdb/ppc-linux-tdep.c b/gdb/ppc-linux-tdep.c
index ef1d9f0..279c17c 100644
--- a/gdb/ppc-linux-tdep.c
+++ b/gdb/ppc-linux-tdep.c
@@ -229,7 +229,7 @@ ppc_linux_at_sigtramp_return_path (CORE_ADDR pc)
&& insn_is_sigreturn (extract_unsigned_integer (buf, 4))));
}
-CORE_ADDR
+static CORE_ADDR
ppc_linux_skip_trampoline_code (CORE_ADDR pc)
{
char buf[4];
@@ -749,7 +749,7 @@ ppc_linux_init_abi (struct gdbarch_info info,
/* Shared library handling. */
set_gdbarch_in_solib_call_trampoline (gdbarch, in_plt_section);
- set_gdbarch_skip_trampoline_code (gdbarch, find_solib_trampoline_target);
+ set_gdbarch_skip_trampoline_code (gdbarch, ppc_linux_skip_trampoline_code);
}
void