Fix build on OpenBSD/sparc64.

gdb/ChangeLog:

        * sparc64nbsd-nat.c (sparc64nbsd_supply_fpregset): Fix prototype.
This commit is contained in:
Mark Kettenis 2014-02-03 14:29:28 +01:00
parent 5446cbdf82
commit 8507e05d53
2 changed files with 6 additions and 1 deletions

View File

@ -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.

View File

@ -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);