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] Fix build on OpenBSD/sparc64.


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


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