This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
[PATCH] Fix build on OpenBSD/sparc64.
- From: Mark Kettenis <mark dot kettenis at xs4all dot nl>
- To: gdb-patches at sourceware dot org
- Date: Mon, 3 Feb 2014 14:39:06 +0100 (CET)
- Subject: [PATCH] Fix build on OpenBSD/sparc64.
- Authentication-results: sourceware.org; auth=none
Committed as obvious.
gdb/ChangeLog:
* sparc64nbsd-nat.c (sparc64nbsd_supply_fpregset): Fix prototype.
---
gdb/ChangeLog | 4 ++++
gdb/sparc64nbsd-nat.c | 3 ++-
2 files changed, 6 insertions(+), 1 deletion(-)
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index 5f0fbfe..0bfa3ff 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -1,3 +1,7 @@
+2014-02-03 Mark Kettenis <kettenis@gnu.org>
+
+ * sparc64nbsd-nat.c (sparc64nbsd_supply_fpregset): Fix prototype.
+
2014-01-31 Joel Brobecker <brobecker@adacore.com>
* ada-lang.h (clear_ada_sym_cache): Delete.
diff --git a/gdb/sparc64nbsd-nat.c b/gdb/sparc64nbsd-nat.c
index 488f8b9..f8db7fa 100644
--- a/gdb/sparc64nbsd-nat.c
+++ b/gdb/sparc64nbsd-nat.c
@@ -69,7 +69,8 @@ sparc64nbsd_supply_fpregset (const struct sparc_fpregset *fpregset,
}
static void
-sparc64nbsd_collect_fpregset (const struct regcache *regcache,
+sparc64nbsd_collect_fpregset (const struct sparc_fpregset *fpregset,
+ const struct regcache *regcache,
int regnum, void *fpregs)
{
int sparc32 = (gdbarch_ptr_bit (get_regcache_arch (regcache)) == 32);
--
1.8.5.3