Index: gdb/sparc64nbsd-tdep.c |
diff --git a/gdb/sparc64nbsd-tdep.c b/gdb/sparc64nbsd-tdep.c |
index 273fb2689645309694544fe3fa807af48556c134..7a3bd1af38e5007e28da54b896764af13c4c94e5 100644 |
--- a/gdb/sparc64nbsd-tdep.c |
+++ b/gdb/sparc64nbsd-tdep.c |
@@ -1,6 +1,6 @@ |
/* Target-dependent code for NetBSD/sparc64. |
- Copyright (C) 2002-2012 Free Software Foundation, Inc. |
+ Copyright (C) 2002-2013 Free Software Foundation, Inc. |
Based on code contributed by Wasabi Systems, Inc. |
This file is part of GDB. |
@@ -31,7 +31,7 @@ |
#include "trad-frame.h" |
#include "gdb_assert.h" |
-#include "gdb_string.h" |
+#include <string.h> |
#include "sparc64-tdep.h" |
#include "nbsd-tdep.h" |
@@ -64,7 +64,7 @@ sparc64nbsd_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); |
} |