aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoel Brobecker <brobecker@gnat.com>2004-05-13 22:26:39 +0000
committerJoel Brobecker <brobecker@gnat.com>2004-05-13 22:26:39 +0000
commit0d4d54840d9135777fbacab4eda666c8fd09eb36 (patch)
treebfd694b9e45f8cbfab4ed043ee8b9c306183af57
parent063715bf637d9552de6b4d991823cc9854a76d0e (diff)
downloadgdb-0d4d54840d9135777fbacab4eda666c8fd09eb36.zip
gdb-0d4d54840d9135777fbacab4eda666c8fd09eb36.tar.gz
gdb-0d4d54840d9135777fbacab4eda666c8fd09eb36.tar.bz2
* aix-thread.c: #include "gdb_string.h". Needed for memset and memcopy.
* Makefile.in (aix-thread.o): Add dependency on gdb_string.h.
-rw-r--r--gdb/ChangeLog5
-rw-r--r--gdb/Makefile.in2
-rw-r--r--gdb/aix-thread.c1
3 files changed, 7 insertions, 1 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index de2b029..42b88a3 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -1,3 +1,8 @@
+2004-05-13 J. Brobecker <brobecker@gnat.com>
+
+ * aix-thread.c: #include "gdb_string.h". Needed for memset and memcopy.
+ * Makefile.in (aix-thread.o): Add dependency on gdb_string.h.
+
2004-05-13 Andrew Cagney <cagney@redhat.com>
* infrun.c (handle_inferior_event): Check for
diff --git a/gdb/Makefile.in b/gdb/Makefile.in
index 07e57a4..fef46ae 100644
--- a/gdb/Makefile.in
+++ b/gdb/Makefile.in
@@ -1505,7 +1505,7 @@ ada-valprint.o: ada-valprint.c $(defs_h) $(symtab_h) $(gdbtypes_h) \
$(annotate_h) $(ada_lang_h) $(c_lang_h) $(infcall_h)
aix-thread.o: aix-thread.c $(defs_h) $(gdb_assert_h) $(gdbthread_h) \
$(target_h) $(inferior_h) $(regcache_h) $(gdbcmd_h) $(language_h) \
- $(ppc_tdep_h)
+ $(ppc_tdep_h) $(gdb_string_h)
alphabsd-nat.o: alphabsd-nat.c $(defs_h) $(inferior_h) $(regcache_h) \
$(alpha_tdep_h) $(alphabsd_tdep_h) $(gregset_h)
alphabsd-tdep.o: alphabsd-tdep.c $(defs_h) $(alpha_tdep_h) \
diff --git a/gdb/aix-thread.c b/gdb/aix-thread.c
index d95f7e3..5e8fadf 100644
--- a/gdb/aix-thread.c
+++ b/gdb/aix-thread.c
@@ -50,6 +50,7 @@
#include "gdbcmd.h"
#include "language.h" /* for local_hex_string() */
#include "ppc-tdep.h"
+#include "gdb_string.h"
#include <procinfo.h>
#include <sys/types.h>