aboutsummaryrefslogtreecommitdiff
path: root/gdb/sparc64nbsd-nat.c
diff options
context:
space:
mode:
authorMark Kettenis <kettenis@gnu.org>2014-02-03 14:29:28 +0100
committerMark Kettenis <kettenis@gnu.org>2014-02-03 14:29:28 +0100
commit8507e05d53135f62736cc443d869942df86c3392 (patch)
tree24c3dd65b1b30f44c99871d165663597ecaad8da /gdb/sparc64nbsd-nat.c
parent5446cbdf82892a800ed7eef563a795e75223ec52 (diff)
downloadgdb-8507e05d53135f62736cc443d869942df86c3392.zip
gdb-8507e05d53135f62736cc443d869942df86c3392.tar.gz
gdb-8507e05d53135f62736cc443d869942df86c3392.tar.bz2
Fix build on OpenBSD/sparc64.
gdb/ChangeLog: * sparc64nbsd-nat.c (sparc64nbsd_supply_fpregset): Fix prototype.
Diffstat (limited to 'gdb/sparc64nbsd-nat.c')
-rw-r--r--gdb/sparc64nbsd-nat.c3
1 files changed, 2 insertions, 1 deletions
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);