diff options
author | Mark Kettenis <kettenis@gnu.org> | 2004-04-07 00:04:29 +0000 |
---|---|---|
committer | Mark Kettenis <kettenis@gnu.org> | 2004-04-07 00:04:29 +0000 |
commit | 5ad14582c99049c48620c2eae2ed8b5015d456b0 (patch) | |
tree | c0f640e49b2fd4bf63ed9e75a2de6fd1d162716c /gdb/sparc64-sol2-tdep.c | |
parent | eed261e28ddafdaddf252ec10ace2aa2bfdd689e (diff) | |
download | gdb-5ad14582c99049c48620c2eae2ed8b5015d456b0.tar.gz |
* sparc-sol2-tdep.c: Update copyright year. Include
"solib-svr4.h".
(sparc32_sol2_init_abi): Set solib_svr4_fetch_link_map_offsets.
* sparc64-sol2-tdep.c: Include "solib-svr4.h".
(sparc64_sol2_init_abi): Set solib_svr4_fetch_link_map_offsets.
* Makefile.in (sparc-sol2-tdep.o, sparc64-sol2-tdep.o): ): Update
dependencies.
Diffstat (limited to 'gdb/sparc64-sol2-tdep.c')
-rw-r--r-- | gdb/sparc64-sol2-tdep.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/gdb/sparc64-sol2-tdep.c b/gdb/sparc64-sol2-tdep.c index 43057fe76e5..48f07603626 100644 --- a/gdb/sparc64-sol2-tdep.c +++ b/gdb/sparc64-sol2-tdep.c @@ -31,6 +31,7 @@ #include "gdb_assert.h" #include "sparc64-tdep.h" +#include "solib-svr4.h" /* From <sys/regset.h>. */ const struct sparc_gregset sparc64_sol2_gregset = @@ -161,6 +162,8 @@ sparc64_sol2_init_abi (struct gdbarch_info info, struct gdbarch *gdbarch) /* Solaris has SVR4-style shared libraries... */ set_gdbarch_in_solib_call_trampoline (gdbarch, in_plt_section); set_gdbarch_skip_trampoline_code (gdbarch, find_solib_trampoline_target); + set_solib_svr4_fetch_link_map_offsets + (gdbarch, svr4_lp64_fetch_link_map_offsets); /* ...which means that we need some special handling when doing prologue analysis. */ |