aboutsummaryrefslogtreecommitdiff
path: root/gdb/arm-linux-tdep.c
diff options
context:
space:
mode:
authorMark Kettenis <kettenis@gnu.org>2003-11-15 14:02:58 +0000
committerMark Kettenis <kettenis@gnu.org>2003-11-15 14:02:58 +0000
commitbb41a796b6ca26a28ef309814aba7f723ff3b345 (patch)
tree11855a8ea7d4defcca32362d293408d3660c576b /gdb/arm-linux-tdep.c
parent9eda08897d7407366660f7f9972eff9b6c158bbd (diff)
downloadgdb-bb41a796b6ca26a28ef309814aba7f723ff3b345.zip
gdb-bb41a796b6ca26a28ef309814aba7f723ff3b345.tar.gz
gdb-bb41a796b6ca26a28ef309814aba7f723ff3b345.tar.bz2
* glibc-tdep.h (struct gdbarch): Declare opaque.
(glibc_skip_solib_resolver): Adjust prototype. * glibc-tdep.c (glibc_skip_solib_resolver): Adjust. * arm-linux-tdep.c (arm_linux_skip_solib_resolver): Remove. (arm_linux_init_abi): Set skip_solib_resolver. * i386-linux-tdep.c (i386_linux_skip_solib_resolver): Remove. (i386_linux_init_abi): Set skip_solib_resolver. * config/arm/tm-linux.h (SKIP_SOLIB_RESOLVER): Remove. (arm_linux_skip_solib_resolver): Remove prototype. * config/i386/tm-linux.h (SKIP_SOLIB_RESOLVER): Remove. (i386_linux_skip_solib_resolver): Remove prototype.
Diffstat (limited to 'gdb/arm-linux-tdep.c')
-rw-r--r--gdb/arm-linux-tdep.c7
1 files changed, 1 insertions, 6 deletions
diff --git a/gdb/arm-linux-tdep.c b/gdb/arm-linux-tdep.c
index c91c0fd..42d4438 100644
--- a/gdb/arm-linux-tdep.c
+++ b/gdb/arm-linux-tdep.c
@@ -387,12 +387,6 @@ arm_linux_svr4_fetch_link_map_offsets (void)
return lmp;
}
-CORE_ADDR
-arm_linux_skip_solib_resolver (CORE_ADDR pc)
-{
- return glibc_skip_solib_resolver (pc);
-}
-
/* The constants below were determined by examining the following files
in the linux kernel sources:
@@ -506,6 +500,7 @@ arm_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_solib_resolver (gdbarch, glibc_skip_solib_resolver);
}
void