aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMark Kettenis <kettenis@gnu.org>2014-02-12 14:59:48 +0100
committerMark Kettenis <kettenis@gnu.org>2014-02-12 14:59:48 +0100
commit0548b5db301937e52a34dd6991ae571e21e75b40 (patch)
tree3657ece0d2b5ae09b0b39d6cbd69118cb0743fa3
parent493443a47f514251f12e08223b2c56f0fed69015 (diff)
downloadgdb-0548b5db301937e52a34dd6991ae571e21e75b40.zip
gdb-0548b5db301937e52a34dd6991ae571e21e75b40.tar.gz
gdb-0548b5db301937e52a34dd6991ae571e21e75b40.tar.bz2
Call obsd_init_abi for OpenBSD/sparc64.
gdb/CHangeLog: * sparc64obsd-tdep.c (sparc64obsd_init_abi): Call obsd_init_abi.
-rw-r--r--gdb/ChangeLog4
-rw-r--r--gdb/sparc64obsd-tdep.c1
2 files changed, 5 insertions, 0 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index 8d91946..cea09ee 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -1,5 +1,9 @@
2014-02-12 Mark Kettenis <kettenis@gnu.org>
+ * sparc64obsd-tdep.c (sparc64obsd_init_abi): Call obsd_init_abi.
+
+2014-02-12 Mark Kettenis <kettenis@gnu.org>
+
* inf-ptrace.c (inf_ptrace_xfer_partial): Return TARGET_XFER_EOF
if a PT_IO ptrace request returns sucessfully but indicates that 0
bytes were transferred.
diff --git a/gdb/sparc64obsd-tdep.c b/gdb/sparc64obsd-tdep.c
index c446aa0..e2dce3b 100644
--- a/gdb/sparc64obsd-tdep.c
+++ b/gdb/sparc64obsd-tdep.c
@@ -421,6 +421,7 @@ sparc64obsd_init_abi (struct gdbarch_info info, struct gdbarch *gdbarch)
frame_unwind_append_unwinder (gdbarch, &sparc64obsd_trapframe_unwind);
sparc64_init_abi (info, gdbarch);
+ obsd_init_abi (info, gdbarch);
/* OpenBSD/sparc64 has SVR4-style shared libraries. */
set_solib_svr4_fetch_link_map_offsets