2005-12-26 Mark Kettenis <kettenis@gnu.org>
+ * sparc64obsd-tdep.c: Include "obsd-tdep.h".
+ (sparc64obsd_init_abi): Set skip_solib_resolver to
+ obsd_skip_solib_resolver instead of find_solib_trampoline_target.
+ * Makefile.in (sparc64obsd-tdep.o): Update dependencies.
+ * config/sparc/obsd64.mt (TDEPFILES): Add obsd-tdep.o.
+
* sparcobsd-tdep.c: Include "obsd-tdep.h".
(sparc32obsd_init_abi): Set skip_solib_resolver.
* Makefile.in (sparcobsd-tdep.o): Update dependencies.
$(gdb_assert_h) $(gdb_string_h) $(sparc64_tdep_h) $(nbsd_tdep_h)
sparc64obsd-tdep.o: sparc64obsd-tdep.c $(defs_h) $(frame_h) \
$(frame_unwind_h) $(osabi_h) $(regset_h) $(symtab_h) $(objfiles_h) \
- $(solib_svr4_h) $(trad_frame_h) $(gdb_assert_h) $(sparc64_tdep_h)
+ $(solib_svr4_h) $(trad_frame_h) $(gdb_assert_h) $(obsd_tdep_h) \
+ $(sparc64_tdep_h)
sparc64-sol2-tdep.o: sparc64-sol2-tdep.c $(defs_h) $(frame_h) \
$(frame_unwind_h) $(gdbarch_h) $(symtab_h) $(objfiles_h) $(osabi_h) \
$(trad_frame_h) $(gdb_assert_h) $(sparc64_tdep_h) $(solib_svr4_h)
# Target: OpenBSD/sparc64
TDEPFILES= sparc64-tdep.o sparc64nbsd-tdep.o sparc64obsd-tdep.o \
sparc-tdep.o sparcnbsd-tdep.o sparcobsd-tdep.o nbsd-tdep.o \
- corelow.o solib.o solib-svr4.o
+ obsd-tdep.o corelow.o solib.o solib-svr4.o
#include "gdb_assert.h"
+#include "obsd-tdep.h"
#include "sparc64-tdep.h"
/* OpenBSD uses the traditional NetBSD core file format, even for
sparc64_init_abi (info, gdbarch);
/* OpenBSD/sparc64 has SVR4-style shared libraries. */
- set_gdbarch_skip_trampoline_code (gdbarch, find_solib_trampoline_target);
set_solib_svr4_fetch_link_map_offsets
(gdbarch, svr4_lp64_fetch_link_map_offsets);
+ set_gdbarch_skip_solib_resolver (gdbarch, obsd_skip_solib_resolver);
}
\f