* 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.
This commit is contained in:
Mark Kettenis 2004-04-07 00:04:29 +00:00
parent 583518eff3
commit 70b216c813
4 changed files with 19 additions and 3 deletions

View File

@ -1,3 +1,13 @@
2004-04-07 Mark Kettenis <kettenis@gnu.org>
* 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.
2004-04-06 Andrew Cagney <cagney@redhat.com> 2004-04-06 Andrew Cagney <cagney@redhat.com>
* infttrace.c: Include "infttrace.h". * infttrace.c: Include "infttrace.h".

View File

@ -2357,7 +2357,7 @@ sparc64obsd-tdep.o: sparc64obsd-tdep.c $(defs_h) $(frame_h) \
$(trad_frame_h) $(gdb_assert_h) $(sparc64_tdep_h) $(nbsd_tdep_h) $(trad_frame_h) $(gdb_assert_h) $(sparc64_tdep_h) $(nbsd_tdep_h)
sparc64-sol2-tdep.o: sparc64-sol2-tdep.c $(defs_h) $(frame_h) \ sparc64-sol2-tdep.o: sparc64-sol2-tdep.c $(defs_h) $(frame_h) \
$(frame_unwind_h) $(gdbarch_h) $(symtab_h) $(objfiles_h) $(osabi_h) \ $(frame_unwind_h) $(gdbarch_h) $(symtab_h) $(objfiles_h) $(osabi_h) \
$(trad_frame_h) $(gdb_assert_h) $(sparc64_tdep_h) $(trad_frame_h) $(gdb_assert_h) $(sparc64_tdep_h) $(solib_svr4_h)
sparc64-tdep.o: sparc64-tdep.c $(defs_h) $(arch_utils_h) $(floatformat_h) \ sparc64-tdep.o: sparc64-tdep.c $(defs_h) $(arch_utils_h) $(floatformat_h) \
$(frame_h) $(frame_base_h) $(frame_unwind_h) $(gdbcore_h) \ $(frame_h) $(frame_base_h) $(frame_unwind_h) $(gdbcore_h) \
$(gdbtypes_h) $(inferior_h) $(symtab_h) $(objfiles_h) $(osabi_h) \ $(gdbtypes_h) $(inferior_h) $(symtab_h) $(objfiles_h) $(osabi_h) \
@ -2383,7 +2383,7 @@ sparc-sol2-nat.o: sparc-sol2-nat.c $(defs_h) $(regcache_h) $(gregset_h) \
sparc-sol2-tdep.o: sparc-sol2-tdep.c $(defs_h) $(frame_h) $(frame_unwind_h) \ sparc-sol2-tdep.o: sparc-sol2-tdep.c $(defs_h) $(frame_h) $(frame_unwind_h) \
$(gdbcore_h) $(symtab_h) $(objfiles_h) $(osabi_h) $(regcache_h) \ $(gdbcore_h) $(symtab_h) $(objfiles_h) $(osabi_h) $(regcache_h) \
$(target_h) $(trad_frame_h) $(gdb_assert_h) $(gdb_string_h) \ $(target_h) $(trad_frame_h) $(gdb_assert_h) $(gdb_string_h) \
$(sparc_tdep_h) $(sparc_tdep_h) $(solib_svr4_h)
sparc-stub.o: sparc-stub.c sparc-stub.o: sparc-stub.c
sparc-tdep.o: sparc-tdep.c $(defs_h) $(arch_utils_h) $(dis_asm_h) \ sparc-tdep.o: sparc-tdep.c $(defs_h) $(arch_utils_h) $(dis_asm_h) \
$(floatformat_h) $(frame_h) $(frame_base_h) $(frame_unwind_h) \ $(floatformat_h) $(frame_h) $(frame_base_h) $(frame_unwind_h) \

View File

@ -1,6 +1,6 @@
/* Target-dependent code for Solaris SPARC. /* Target-dependent code for Solaris SPARC.
Copyright 2003 Free Software Foundation, Inc. Copyright 2003, 2004 Free Software Foundation, Inc.
This file is part of GDB. This file is part of GDB.
@ -34,6 +34,7 @@
#include "gdb_string.h" #include "gdb_string.h"
#include "sparc-tdep.h" #include "sparc-tdep.h"
#include "solib-svr4.h"
/* From <sys/regset.h>. */ /* From <sys/regset.h>. */
const struct sparc_gregset sparc32_sol2_gregset = const struct sparc_gregset sparc32_sol2_gregset =
@ -177,6 +178,8 @@ sparc32_sol2_init_abi (struct gdbarch_info info, struct gdbarch *gdbarch)
/* Solaris has SVR4-style shared libraries... */ /* Solaris has SVR4-style shared libraries... */
set_gdbarch_in_solib_call_trampoline (gdbarch, in_plt_section); 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, find_solib_trampoline_target);
set_solib_svr4_fetch_link_map_offsets
(gdbarch, svr4_ilp32_fetch_link_map_offsets);
/* ...which means that we need some special handling when doing /* ...which means that we need some special handling when doing
prologue analysis. */ prologue analysis. */

View File

@ -31,6 +31,7 @@
#include "gdb_assert.h" #include "gdb_assert.h"
#include "sparc64-tdep.h" #include "sparc64-tdep.h"
#include "solib-svr4.h"
/* From <sys/regset.h>. */ /* From <sys/regset.h>. */
const struct sparc_gregset sparc64_sol2_gregset = 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... */ /* Solaris has SVR4-style shared libraries... */
set_gdbarch_in_solib_call_trampoline (gdbarch, in_plt_section); 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, 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 /* ...which means that we need some special handling when doing
prologue analysis. */ prologue analysis. */