From 0d4d54840d9135777fbacab4eda666c8fd09eb36 Mon Sep 17 00:00:00 2001 From: Joel Brobecker Date: Thu, 13 May 2004 22:26:39 +0000 Subject: [PATCH] * aix-thread.c: #include "gdb_string.h". Needed for memset and memcopy. * Makefile.in (aix-thread.o): Add dependency on gdb_string.h. --- gdb/ChangeLog | 5 +++++ gdb/Makefile.in | 2 +- gdb/aix-thread.c | 1 + 3 files changed, 7 insertions(+), 1 deletion(-) diff --git a/gdb/ChangeLog b/gdb/ChangeLog index de2b029525e..42b88a3b31a 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,8 @@ +2004-05-13 J. Brobecker + + * 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 * infrun.c (handle_inferior_event): Check for diff --git a/gdb/Makefile.in b/gdb/Makefile.in index 07e57a44a88..fef46ae52b8 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 d95f7e39b12..5e8fadffe30 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 #include -- 2.30.2