From 8507e05d53135f62736cc443d869942df86c3392 Mon Sep 17 00:00:00 2001 From: Mark Kettenis Date: Mon, 3 Feb 2014 14:29:28 +0100 Subject: [PATCH] Fix build on OpenBSD/sparc64. 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 5f0fbfebfd9..0bfa3ff58db 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,7 @@ +2014-02-03 Mark Kettenis + + * sparc64nbsd-nat.c (sparc64nbsd_supply_fpregset): Fix prototype. + 2014-01-31 Joel Brobecker * ada-lang.h (clear_ada_sym_cache): Delete. diff --git a/gdb/sparc64nbsd-nat.c b/gdb/sparc64nbsd-nat.c index 488f8b91c75..f8db7fae877 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); -- 2.30.2