aboutsummaryrefslogtreecommitdiff
path: root/gdb/alpha-linux-tdep.c
diff options
context:
space:
mode:
authorUlrich Weigand <uweigand@de.ibm.com>2007-10-24 21:21:16 +0000
committerUlrich Weigand <uweigand@de.ibm.com>2007-10-24 21:21:16 +0000
commit8d005789186b3d1e0b58b37ead5f260c05256f28 (patch)
tree5c484ebee785c57ca608d4f9b8834b86871f12a6 /gdb/alpha-linux-tdep.c
parent59215afbea47b0845a7fe36534c37e7ce02065bf (diff)
downloadgdb-8d005789186b3d1e0b58b37ead5f260c05256f28.zip
gdb-8d005789186b3d1e0b58b37ead5f260c05256f28.tar.gz
gdb-8d005789186b3d1e0b58b37ead5f260c05256f28.tar.bz2
* solib-svr4.c (legacy_svr4_fetch_link_map_offsets_hook): Remove.
(solib_svr4_init): Initialize fetch_link_map_offsets to NULL. * solib-svr4.h (legacy_svr4_fetch_link_map_offsets_hook): Remove. * solib-legacy.c: Remove file. * config/alpha/alpha-linux.mt (TDEPFILES): Remove solib-legacy.o. * config/arm/linux.mt (TDEPFILES): Likewise. * config/i386/i386gnu.mh (NATDEPFILES): Likewise. * config/ia64/linux.mt (TDEPFILES): Likewise. * config/m32r/linux.mt (TDEPFILES): Likewise. * config/powerpc/linux.mt (TDEPFILES): Likewise. * config/s390/s390.mt (TDEPFILES): Likewise. * alpha-linux-tdep.c (alpha_linux_init_abi): Call set_solib_svr4_fetch_link_map_offsets. * i386gnu-tdep.c (i386gnu_init_abi): Likewise. * ia64-linux-tdep.c (ia64_linux_init_abi): Likewise. * i386gnu-tdep.c: Include "solib-svr4.h". * Makefile.in: Update dependencies.
Diffstat (limited to 'gdb/alpha-linux-tdep.c')
-rw-r--r--gdb/alpha-linux-tdep.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/gdb/alpha-linux-tdep.c b/gdb/alpha-linux-tdep.c
index 983cd51..4a52fe3 100644
--- a/gdb/alpha-linux-tdep.c
+++ b/gdb/alpha-linux-tdep.c
@@ -224,6 +224,9 @@ alpha_linux_init_abi (struct gdbarch_info info, struct gdbarch *gdbarch)
set_gdbarch_skip_trampoline_code (gdbarch, find_solib_trampoline_target);
+ set_solib_svr4_fetch_link_map_offsets
+ (gdbarch, svr4_lp64_fetch_link_map_offsets);
+
/* Enable TLS support. */
set_gdbarch_fetch_tls_load_module_address (gdbarch,
svr4_fetch_objfile_link_map);