Index: gdb/sparc-sol2-tdep.c |
diff --git a/gdb/sparc-sol2-tdep.c b/gdb/sparc-sol2-tdep.c |
index d2fc4d65123f826158b2b0f6be593f311c79ab3d..ab0c0ace12d6234bf21388d294f856d70a528027 100644 |
--- a/gdb/sparc-sol2-tdep.c |
+++ b/gdb/sparc-sol2-tdep.c |
@@ -1,6 +1,6 @@ |
/* Target-dependent code for Solaris SPARC. |
- Copyright (C) 2003-2004, 2006-2012 Free Software Foundation, Inc. |
+ Copyright (C) 2003-2013 Free Software Foundation, Inc. |
This file is part of GDB. |
@@ -29,7 +29,7 @@ |
#include "trad-frame.h" |
#include "gdb_assert.h" |
-#include "gdb_string.h" |
+#include <string.h> |
#include "sol2-tdep.h" |
#include "sparc-tdep.h" |
@@ -47,6 +47,12 @@ const struct sparc_gregset sparc32_sol2_gregset = |
1 * 4, /* %g1 */ |
16 * 4, /* %l0 */ |
}; |
+ |
+const struct sparc_fpregset sparc32_sol2_fpregset = |
+{ |
+ 0 * 4, /* %f0 */ |
+ 33 * 4, /* %fsr */ |
+}; |
/* The Solaris signal trampolines reside in libc. For normal signals, |