diff options
author | Tom Tromey <tromey@redhat.com> | 2013-11-05 09:48:26 -0700 |
---|---|---|
committer | Tom Tromey <tromey@redhat.com> | 2013-11-08 12:29:56 -0700 |
commit | 6970667963f7f4df0fb185f7840ce8117ad44c4b (patch) | |
tree | 59f1a795e86a3001a4a9320ffd45789f9432ade6 | |
parent | 9b4bea7218162ca37016ade4944bd5e9181b8486 (diff) | |
download | gdb-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.
-rw-r--r-- | gdb/ChangeLog | 4 | ||||
-rw-r--r-- | gdb/m32c-tdep.c | 5 |
2 files changed, 5 insertions, 4 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 323da72..047196f 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,5 +1,9 @@ 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. * configure.ac: Remove all link.h-related checks. 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" |