From ff5922b5508175a114b51a8ac729e2d8427af3d5 Mon Sep 17 00:00:00 2001 From: Andrew Cagney Date: Thu, 1 Aug 2002 22:55:36 +0000 Subject: [PATCH] * linux-proc.c: Include "gdb_string.h". * Makefile.in (linux-proc.o): Update dependency list. --- gdb/ChangeLog | 5 +++++ gdb/Makefile.in | 5 +++-- gdb/linux-proc.c | 1 + 3 files changed, 9 insertions(+), 2 deletions(-) diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 8ecfd028f7f..97b01e313e3 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,8 @@ +2002-08-01 Andrew Cagney + + * linux-proc.c: Include "gdb_string.h". + * Makefile.in (linux-proc.o): Update dependency list. + 2002-08-01 Kevin Buettner * mips-tdep.c (mips_gdbarch_init): Add comments. Fix typo in diff --git a/gdb/Makefile.in b/gdb/Makefile.in index 3bf498e9f41..e22d6506dd1 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 aa3b5711da0..c66df986689 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 * -- 2.30.2