This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[PATCH] Call obsd_init_abi for OpenBSD/sparc64.


Committed.

>From 0548b5db301937e52a34dd6991ae571e21e75b40 Mon Sep 17 00:00:00 2001
From: Mark Kettenis <kettenis@gnu.org>
Date: Wed, 12 Feb 2014 14:59:48 +0100
Subject: [PATCH] Call obsd_init_abi for OpenBSD/sparc64.

gdb/CHangeLog:

        * sparc64obsd-tdep.c (sparc64obsd_init_abi): Call obsd_init_abi.
---
 gdb/ChangeLog          | 4 ++++
 gdb/sparc64obsd-tdep.c | 1 +
 2 files changed, 5 insertions(+)

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
-- 
1.8.5.3


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]