2002-08-06 Andrew Cagney <ac131313@redhat.com>
authorAndrew Cagney <cagney@redhat.com>
Tue, 6 Aug 2002 15:53:08 +0000 (15:53 +0000)
committerAndrew Cagney <cagney@redhat.com>
Tue, 6 Aug 2002 15:53:08 +0000 (15:53 +0000)
* gcore.c: Do not include <sys/procfs.h>.
* Makefile.in (gcore.o): Update dependencies.

gdb/ChangeLog
gdb/Makefile.in
gdb/gcore.c

index 0df93d6..24c58f1 100644 (file)
@@ -1,3 +1,8 @@
+2002-08-06  Andrew Cagney  <ac131313@redhat.com>
+
+       * gcore.c: Do not include <sys/procfs.h>.
+       * Makefile.in (gcore.o): Update dependencies.
+
 2002-08-06  Andrew Cagney  <cagney@redhat.com>
 
        * configure.tgt: Make arc-*-* obsolete.
index 77c9d55..2481bc8 100644 (file)
@@ -1404,8 +1404,8 @@ corefile.o: corefile.c $(dis_asm_h) $(defs_h) $(gdbcmd_h) $(gdbcore_h) \
 corelow.o: corelow.c $(command_h) $(defs_h) $(gdbcore_h) $(inferior_h) \
        $(target_h) $(gdbthread_h) $(gdb_string_h) $(regcache_h)
 
-gcore.o: gcore.c $(defs_h) $(command_h) $(inferior_h) $(gdbcore_h) \
-       $(BFD_SRC)/elf-bfd.h $(symfile_h) $(objfiles_h) 
+gcore.o: gcore.c $(defs_h) $(cli_decode_h) $(inferior_h) $(gdbcore_h) \
+       $(elf_bfd_h) $(symfile_h) $(objfiles_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) \
index 25d1ed7..9532f14 100644 (file)
@@ -23,7 +23,6 @@
 #include "inferior.h"
 #include "gdbcore.h"
 #include "elf-bfd.h"
-#include <sys/procfs.h>
 #include "symfile.h"
 #include "objfiles.h"