Index: gdb/mipsnbsd-tdep.c |
diff --git a/gdb/mipsnbsd-tdep.c b/gdb/mipsnbsd-tdep.c |
index 83b2f7ef078481af9b75e465891bafaefb290bbb..bd92eb2f54c09510ec0e0e66375425e2eb0bd8e5 100644 |
--- a/gdb/mipsnbsd-tdep.c |
+++ b/gdb/mipsnbsd-tdep.c |
@@ -1,6 +1,6 @@ |
/* Target-dependent code for NetBSD/mips. |
- Copyright (C) 2002-2004, 2006-2012 Free Software Foundation, Inc. |
+ Copyright (C) 2002-2013 Free Software Foundation, Inc. |
Contributed by Wasabi Systems, Inc. |
@@ -28,7 +28,7 @@ |
#include "osabi.h" |
#include "gdb_assert.h" |
-#include "gdb_string.h" |
+#include <string.h> |
#include "nbsd-tdep.h" |
#include "mipsnbsd-tdep.h" |
@@ -262,7 +262,7 @@ mipsnbsd_get_longjmp_target (struct frame_info *frame, CORE_ADDR *pc) |
struct gdbarch *gdbarch = get_frame_arch (frame); |
enum bfd_endian byte_order = gdbarch_byte_order (gdbarch); |
CORE_ADDR jb_addr; |
- char *buf; |
+ gdb_byte *buf; |
buf = alloca (NBSD_MIPS_JB_ELEMENT_SIZE (gdbarch)); |