use gdb_string.h in m32c-tdep.c
authorTom Tromey <tromey@redhat.com>
Tue, 5 Nov 2013 16:48:26 +0000 (09:48 -0700)
committerTom Tromey <tromey@redhat.com>
Fri, 8 Nov 2013 19:29:56 +0000 (12:29 -0700)
m32c-tdep.c is the last user of HAVE_STRING_H in gdb proper.  It
really ought to be using gdb_string.h instead, as the rest of gdb
does.

2013-11-08  Tom Tromey  <tromey@redhat.com>

* m32c-tdep.c: Use gdb_string.h.

gdb/ChangeLog
gdb/m32c-tdep.c

index 323da728d29296d8075d418b6262c721acd8226f..047196f144581664a32cf93104c7e528c443883b 100644 (file)
@@ -1,3 +1,7 @@
+2013-11-08  Tom Tromey  <tromey@redhat.com>
+
+       * m32c-tdep.c: Use gdb_string.h.
+
 2013-11-08  Tom Tromey  <tromey@redhat.com>
 
        * configure, config.in: Rebuild.
index a147c94f1684bdaa4d900eab02ff5ab45963dcfc..1b0eba5483a4a89a2567e51af9852edf4a0b0ddd 100644 (file)
 
 #include <stdarg.h>
 
-#if defined (HAVE_STRING_H)
-#include <string.h>
-#endif
-
+#include "gdb_string.h"
 #include "gdb_assert.h"
 #include "elf-bfd.h"
 #include "elf/m32c.h"