Index: gdb/iq2000-tdep.c |
diff --git a/gdb/iq2000-tdep.c b/gdb/iq2000-tdep.c |
index 6ecc671e593c00cf57b54e7baf269df8057cf425..60d7a30f4daa5bf843a47af3ed472863926381b7 100644 |
--- a/gdb/iq2000-tdep.c |
+++ b/gdb/iq2000-tdep.c |
@@ -1,8 +1,7 @@ |
/* Target-dependent code for the IQ2000 architecture, for GDB, the GNU |
Debugger. |
- Copyright (C) 2000, 2004-2005, 2007-2012 Free Software Foundation, |
- Inc. |
+ Copyright (C) 2000-2013 Free Software Foundation, Inc. |
Contributed by Red Hat. |
@@ -29,7 +28,7 @@ |
#include "gdbtypes.h" |
#include "value.h" |
#include "dis-asm.h" |
-#include "gdb_string.h" |
+#include <string.h> |
#include "arch-utils.h" |
#include "regcache.h" |
#include "osabi.h" |
@@ -509,7 +508,7 @@ iq2000_store_return_value (struct type *type, struct regcache *regcache, |
while (len > 0) |
{ |
- char buf[4]; |
+ gdb_byte buf[4]; |
int size = len % 4 ?: 4; |
memset (buf, 0, 4); |