This is the mail archive of the
gdb-patches@sources.redhat.com
mailing list for the GDB project.
[patch/ob] Another missing #include "gdb_string.h"
- From: Andrew Cagney <ac131313 at ges dot redhat dot com>
- To: gdb-patches at sources dot redhat dot com
- Date: Thu, 01 Aug 2002 18:56:11 -0400
- Subject: [patch/ob] Another missing #include "gdb_string.h"
Sigh,
committed,
Andrew
2002-08-01 Andrew Cagney <cagney@redhat.com>
* linux-proc.c: Include "gdb_string.h".
* Makefile.in (linux-proc.o): Update dependency list.
Index: Makefile.in
===================================================================
RCS file: /cvs/src/src/gdb/Makefile.in,v
retrieving revision 1.229
diff -u -r1.229 Makefile.in
--- Makefile.in 1 Aug 2002 17:18:32 -0000 1.229
+++ Makefile.in 1 Aug 2002 22:52:29 -0000
@@ -1407,8 +1407,9 @@
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)
Index: linux-proc.c
===================================================================
RCS file: /cvs/src/src/gdb/linux-proc.c,v
retrieving revision 1.9
diff -u -r1.9 linux-proc.c
--- linux-proc.c 24 Apr 2002 22:09:56 -0000 1.9
+++ linux-proc.c 1 Aug 2002 22:52:29 -0000
@@ -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
*