From: Mark Kettenis Date: Mon, 3 Feb 2014 13:29:28 +0000 (+0100) Subject: Fix build on OpenBSD/sparc64. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=8507e05d53135f62736cc443d869942df86c3392;p=binutils-gdb.git Fix build on OpenBSD/sparc64. gdb/ChangeLog: * sparc64nbsd-nat.c (sparc64nbsd_supply_fpregset): Fix prototype. --- 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);