This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
[commit] skip_solib_resolver for OpenBSD/arm
- From: Mark Kettenis <mark dot kettenis at xs4all dot nl>
- To: gdb-patches at sourceware dot org
- Date: Mon, 17 Jul 2006 21:35:07 +0200 (CEST)
- Subject: [commit] skip_solib_resolver for OpenBSD/arm
Makes gdb1555.exp pass.
Committed,
Mark
Index: ChangeLog
from Mark Kettenis <kettenis@gnu.org>
* 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.
Index: Makefile.in
===================================================================
RCS file: /cvs/src/src/gdb/Makefile.in,v
retrieving revision 1.829
diff -u -p -r1.829 Makefile.in
--- Makefile.in 16 Jul 2006 15:29:09 -0000 1.829
+++ Makefile.in 17 Jul 2006 19:31:36 -0000
@@ -1784,7 +1784,7 @@ armnbsd-nat.o: armnbsd-nat.c $(defs_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) \
Index: armobsd-tdep.c
===================================================================
RCS file: /cvs/src/src/gdb/armobsd-tdep.c,v
retrieving revision 1.1
diff -u -p -r1.1 armobsd-tdep.c
--- armobsd-tdep.c 16 Jul 2006 15:29:09 -0000 1.1
+++ armobsd-tdep.c 17 Jul 2006 19:31:36 -0000
@@ -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 in
/* 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;
Index: config/arm/obsd.mt
===================================================================
RCS file: /cvs/src/src/gdb/config/arm/obsd.mt,v
retrieving revision 1.1
diff -u -p -r1.1 obsd.mt
--- config/arm/obsd.mt 16 Jul 2006 15:29:09 -0000 1.1
+++ config/arm/obsd.mt 17 Jul 2006 19:31:36 -0000
@@ -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