aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMark Kettenis <kettenis@gnu.org>2006-07-17 19:34:57 +0000
committerMark Kettenis <kettenis@gnu.org>2006-07-17 19:34:57 +0000
commitaa88762a706df5fe636f7dc3727c0586861720ed (patch)
treed3504700fde129d4656c0e84cf47dd44d5553258
parent7206a0ee43e8c1bc26e7ddc8c589018e75783225 (diff)
downloadgdb-aa88762a706df5fe636f7dc3727c0586861720ed.zip
gdb-aa88762a706df5fe636f7dc3727c0586861720ed.tar.gz
gdb-aa88762a706df5fe636f7dc3727c0586861720ed.tar.bz2
* 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.
-rw-r--r--gdb/ChangeLog6
-rw-r--r--gdb/Makefile.in2
-rw-r--r--gdb/armobsd-tdep.c2
-rw-r--r--gdb/config/arm/obsd.mt2
4 files changed, 10 insertions, 2 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index 584d512..9115cd6 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -1,3 +1,9 @@
+2006-07-17 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.
+
2006-07-16 Mark Kettenis <kettenis@gnu.org>
* armobsd-tdep.c: New file.
diff --git a/gdb/Makefile.in b/gdb/Makefile.in
index 0359897..d0d1ab1 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 6b64b28..64c8338 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 88b0969..c380331 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