aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Cagney <cagney@redhat.com>2002-08-01 22:55:36 +0000
committerAndrew Cagney <cagney@redhat.com>2002-08-01 22:55:36 +0000
commitff5922b5508175a114b51a8ac729e2d8427af3d5 (patch)
tree816c90c123fbe375eae7b88ae809433cbc93d3ee
parenta20ce2c39883be2e2977c18232ad211178f510ff (diff)
downloadgdb-ff5922b5508175a114b51a8ac729e2d8427af3d5.zip
gdb-ff5922b5508175a114b51a8ac729e2d8427af3d5.tar.gz
gdb-ff5922b5508175a114b51a8ac729e2d8427af3d5.tar.bz2
* linux-proc.c: Include "gdb_string.h".
* Makefile.in (linux-proc.o): Update dependency list.
-rw-r--r--gdb/ChangeLog5
-rw-r--r--gdb/Makefile.in5
-rw-r--r--gdb/linux-proc.c1
3 files changed, 9 insertions, 2 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index 8ecfd02..97b01e3 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -1,3 +1,8 @@
+2002-08-01 Andrew Cagney <cagney@redhat.com>
+
+ * linux-proc.c: Include "gdb_string.h".
+ * Makefile.in (linux-proc.o): Update dependency list.
+
2002-08-01 Kevin Buettner <kevinb@redhat.com>
* mips-tdep.c (mips_gdbarch_init): Add comments. Fix typo in
diff --git a/gdb/Makefile.in b/gdb/Makefile.in
index 3bf498e..e22d650 100644
--- a/gdb/Makefile.in
+++ b/gdb/Makefile.in
@@ -1407,8 +1407,9 @@ corelow.o: corelow.c $(command_h) $(defs_h) $(gdbcore_h) $(inferior_h) \
gcore.o: gcore.c $(defs_h) $(command_h) $(inferior_h) $(gdbcore_h) \
$(BFD_SRC)/elf-bfd.h $(symfile_h) $(objfiles_h)
-linux-proc.o: linux-proc.c $(defs_h) $(inferior_h) $(gregset_h) \
- $(gdbcore_h) $(gdbthread_h) $(regcache_h) $(BFD_SRC)/elf-bfd.h
+linux-proc.o: linux-proc.c $(defs_h) $(inferior_h) $(regcache_h) $(gregset_h) \
+ $(gdbcore_h) $(gdbthread_h) $(elf_bfd_h) $(cli_decode_h) \
+ $(gdb_string_h)
cp-abi.o: cp-abi.c $(defs_h) $(value_h) $(cp_abi_h)
diff --git a/gdb/linux-proc.c b/gdb/linux-proc.c
index aa3b571..c66df98 100644
--- a/gdb/linux-proc.c
+++ b/gdb/linux-proc.c
@@ -31,6 +31,7 @@
#include "gdbthread.h" /* for struct thread_info etc. */
#include "elf-bfd.h" /* for elfcore_write_* */
#include "cli/cli-decode.h" /* for add_info */
+#include "gdb_string.h"
/* Function: child_pid_to_exec_file
*