aboutsummaryrefslogtreecommitdiff
path: root/gdb/m32c-tdep.c
diff options
context:
space:
mode:
authorTom Tromey <tromey@redhat.com>2013-11-05 09:48:26 -0700
committerTom Tromey <tromey@redhat.com>2013-11-08 12:29:56 -0700
commit6970667963f7f4df0fb185f7840ce8117ad44c4b (patch)
tree59f1a795e86a3001a4a9320ffd45789f9432ade6 /gdb/m32c-tdep.c
parent9b4bea7218162ca37016ade4944bd5e9181b8486 (diff)
downloadgdb-6970667963f7f4df0fb185f7840ce8117ad44c4b.zip
gdb-6970667963f7f4df0fb185f7840ce8117ad44c4b.tar.gz
gdb-6970667963f7f4df0fb185f7840ce8117ad44c4b.tar.bz2
use gdb_string.h in m32c-tdep.c
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.
Diffstat (limited to 'gdb/m32c-tdep.c')
-rw-r--r--gdb/m32c-tdep.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/gdb/m32c-tdep.c b/gdb/m32c-tdep.c
index a147c94..1b0eba5 100644
--- a/gdb/m32c-tdep.c
+++ b/gdb/m32c-tdep.c
@@ -21,10 +21,7 @@
#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"