aboutsummaryrefslogtreecommitdiff
path: root/gdb/rs6000-tdep.c
diff options
context:
space:
mode:
authorKevin Buettner <kevinb@redhat.com>2001-12-01 00:25:08 +0000
committerKevin Buettner <kevinb@redhat.com>2001-12-01 00:25:08 +0000
commit6ded7999cda94104758893ee6cd00fe17d584ba2 (patch)
tree571e07e996ab26c752652cbd5f7527d77e351c6d /gdb/rs6000-tdep.c
parent7e74fa0edf05215626b6f841eb69b50976343f47 (diff)
downloadgdb-6ded7999cda94104758893ee6cd00fe17d584ba2.zip
gdb-6ded7999cda94104758893ee6cd00fe17d584ba2.tar.gz
gdb-6ded7999cda94104758893ee6cd00fe17d584ba2.tar.bz2
Add cross platform SVR4 shared library support for PowerPC.
Diffstat (limited to 'gdb/rs6000-tdep.c')
-rw-r--r--gdb/rs6000-tdep.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/gdb/rs6000-tdep.c b/gdb/rs6000-tdep.c
index 12c6ed5..4450070 100644
--- a/gdb/rs6000-tdep.c
+++ b/gdb/rs6000-tdep.c
@@ -40,6 +40,7 @@
#include "elf-bfd.h"
+#include "solib-svr4.h"
#include "ppc-tdep.h"
/* If the kernel has to deliver a signal, it pushes a sigcontext
@@ -2333,6 +2334,8 @@ rs6000_gdbarch_init (struct gdbarch_info info, struct gdbarch_list *arches)
set_gdbarch_memory_remove_breakpoint (gdbarch,
ppc_linux_memory_remove_breakpoint);
+ set_solib_svr4_fetch_link_map_offsets
+ (gdbarch, ppc_linux_svr4_fetch_link_map_offsets);
}
else
{