From aa88762a706df5fe636f7dc3727c0586861720ed Mon Sep 17 00:00:00 2001 From: Mark Kettenis Date: Mon, 17 Jul 2006 19:34:57 +0000 Subject: [PATCH] * armobsd-tdep.c (armobsd_init_abi): Set skip_solib_resolver. * Makefile.in (armobsd-tdep.o): Update dependencies. * config/arm/obsd.mt (TDEPFILES): Add obsd-tdep.o. --- gdb/ChangeLog | 6 ++++++ gdb/Makefile.in | 2 +- gdb/armobsd-tdep.c | 2 ++ gdb/config/arm/obsd.mt | 2 +- 4 files changed, 10 insertions(+), 2 deletions(-) diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 584d512b4e8..9115cd65082 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,9 @@ +2006-07-17 Mark Kettenis + + * armobsd-tdep.c (armobsd_init_abi): Set skip_solib_resolver. + * Makefile.in (armobsd-tdep.o): Update dependencies. + * config/arm/obsd.mt (TDEPFILES): Add obsd-tdep.o. + 2006-07-16 Mark Kettenis * armobsd-tdep.c: New file. diff --git a/gdb/Makefile.in b/gdb/Makefile.in index 0359897cc20..d0d1ab1f397 100644 --- a/gdb/Makefile.in +++ b/gdb/Makefile.in @@ -1784,7 +1784,7 @@ armnbsd-nat.o: armnbsd-nat.c $(defs_h) $(gdbcore_h) $(inferior_h) \ armnbsd-tdep.o: armnbsd-tdep.c $(defs_h) $(osabi_h) $(gdb_string_h) \ $(arm_tdep_h) $(solib_svr4_h) armobsd-tdep.o: armobsd-tdep.c $(defs_h) $(osabi_h) \ - $(arm_tdep_h) $(solib_svr4_h) + $(obsd_tdep_h) $(arm_tdep_h) $(solib_svr4_h) arm-tdep.o: arm-tdep.c $(defs_h) $(frame_h) $(inferior_h) $(gdbcmd_h) \ $(gdbcore_h) $(gdb_string_h) $(dis_asm_h) $(regcache_h) \ $(doublest_h) $(value_h) $(arch_utils_h) $(osabi_h) \ diff --git a/gdb/armobsd-tdep.c b/gdb/armobsd-tdep.c index 6b64b28e117..64c83384e93 100644 --- a/gdb/armobsd-tdep.c +++ b/gdb/armobsd-tdep.c @@ -22,6 +22,7 @@ #include "defs.h" #include "osabi.h" +#include "obsd-tdep.h" #include "arm-tdep.h" #include "solib-svr4.h" @@ -37,6 +38,7 @@ armobsd_init_abi (struct gdbarch_info info, /* OpenBSD/arm uses SVR4-style shared libraries. */ set_solib_svr4_fetch_link_map_offsets (gdbarch, svr4_ilp32_fetch_link_map_offsets); + set_gdbarch_skip_solib_resolver (gdbarch, obsd_skip_solib_resolver); tdep->jb_pc = 24; tdep->jb_elt_size = 4; diff --git a/gdb/config/arm/obsd.mt b/gdb/config/arm/obsd.mt index 88b09692227..c3803310b42 100644 --- a/gdb/config/arm/obsd.mt +++ b/gdb/config/arm/obsd.mt @@ -1,2 +1,2 @@ # Target: OpenBSD/arm -TDEPFILES= arm-tdep.o armobsd-tdep.o solib.o solib-svr4.o +TDEPFILES= arm-tdep.o armobsd-tdep.o obsd-tdep.o solib.o solib-svr4.o -- 2.30.2