Index: gdb/sparc64fbsd-tdep.c |
diff --git a/gdb/sparc64fbsd-tdep.c b/gdb/sparc64fbsd-tdep.c |
index f58e73b525515d9354e4e180d030760954f199c2..4e169b500bc7c6bd3b2440db47fb6311b7834ab9 100644 |
--- a/gdb/sparc64fbsd-tdep.c |
+++ b/gdb/sparc64fbsd-tdep.c |
@@ -1,6 +1,6 @@ |
/* Target-dependent code for FreeBSD/sparc64. |
- Copyright (C) 2003-2005, 2007-2012 Free Software Foundation, Inc. |
+ Copyright (C) 2003-2013 Free Software Foundation, Inc. |
This file is part of GDB. |
@@ -28,7 +28,7 @@ |
#include "trad-frame.h" |
#include "gdb_assert.h" |
-#include "gdb_string.h" |
+#include <string.h> |
#include "sparc64-tdep.h" |
#include "solib-svr4.h" |
@@ -69,7 +69,7 @@ sparc64fbsd_supply_fpregset (const struct regset *regset, |
struct regcache *regcache, |
int regnum, const void *fpregs, size_t len) |
{ |
- sparc64_supply_fpregset (regcache, regnum, fpregs); |
+ sparc64_supply_fpregset (&sparc64_bsd_fpregset, regcache, regnum, fpregs); |
} |
static void |
@@ -77,7 +77,7 @@ sparc64fbsd_collect_fpregset (const struct regset *regset, |
const struct regcache *regcache, |
int regnum, void *fpregs, size_t len) |
{ |
- sparc64_collect_fpregset (regcache, regnum, fpregs); |
+ sparc64_collect_fpregset (&sparc64_bsd_fpregset, regcache, regnum, fpregs); |
} |