* alphaobsd-tdep.c: Include "obsd-tdep.h".

(alphaobsd_init_abi): Set skip_solib_resolver.
* Makefile.in (alphaobsd-tdep.o): Update dependencies.
* config/alpha/obsd.mt (TDEPFILES): Add obsd-tdep.o.
This commit is contained in:
Mark Kettenis 2006-07-19 23:23:35 +00:00
parent 6b26d61a05
commit 6ea0ec3fe4
4 changed files with 11 additions and 3 deletions

View File

@ -1,5 +1,10 @@
2006-07-19 Mark Kettenis <kettenis@gnu.org>
* alphaobsd-tdep.c: Include "obsd-tdep.h".
(alphaobsd_init_abi): Set skip_solib_resolver.
* Makefile.in (alphaobsd-tdep.o): Update dependencies.
* config/alpha/obsd.mt (TDEPFILES): Add obsd-tdep.o.
* arm-tdep.c (arm_gdbarch_init): Get default floating-point model
from ELF flags for binaries produced by the GNU toolchain.

View File

@ -1712,7 +1712,8 @@ alphanbsd-tdep.o: alphanbsd-tdep.c $(defs_h) $(frame_h) $(gdbcore_h) \
$(gdb_assert_h) $(alpha_tdep_h) $(alphabsd_tdep_h) $(nbsd_tdep_h) \
$(solib_svr4_h)
alphaobsd-tdep.o: alphaobsd-tdep.c $(defs_h) $(frame_h) $(gdbcore_h) \
$(osabi_h) $(alpha_tdep_h) $(alphabsd_tdep_h) $(solib_svr4_h)
$(osabi_h) $(obsd_tdep_h) $(alpha_tdep_h) $(alphabsd_tdep_h) \
$(solib_svr4_h)
alpha-osf1-tdep.o: alpha-osf1-tdep.c $(defs_h) $(frame_h) $(gdbcore_h) \
$(value_h) $(osabi_h) $(gdb_string_h) $(objfiles_h) $(alpha_tdep_h)
alpha-tdep.o: alpha-tdep.c $(defs_h) $(doublest_h) $(frame_h) \

View File

@ -24,6 +24,7 @@
#include "gdbcore.h"
#include "osabi.h"
#include "obsd-tdep.h"
#include "alpha-tdep.h"
#include "alphabsd-tdep.h"
#include "solib-svr4.h"
@ -111,6 +112,7 @@ alphaobsd_init_abi(struct gdbarch_info info, struct gdbarch *gdbarch)
/* OpenBSD/alpha has SVR4-style shared libraries. */
set_solib_svr4_fetch_link_map_offsets
(gdbarch, svr4_lp64_fetch_link_map_offsets);
set_gdbarch_skip_solib_resolver (gdbarch, obsd_skip_solib_resolver);
tdep->dynamic_sigtramp_offset = alphaobsd_sigtramp_offset;
tdep->pc_in_sigtramp = alphaobsd_pc_in_sigtramp;

View File

@ -1,4 +1,4 @@
# Target: OpenBSD/alpha
TDEPFILES= alpha-tdep.o alpha-mdebug-tdep.o \
alphabsd-tdep.o alphanbsd-tdep.o alphaobsd-tdep.o nbsd-tdep.o \
TDEPFILES= alpha-tdep.o alpha-mdebug-tdep.o alphabsd-tdep.o \
alphanbsd-tdep.o alphaobsd-tdep.o nbsd-tdep.o obsd-tdep.o \
corelow.o solib.o solib-svr4.o