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 0df93d6efd201f5325a692ea8d31ea1d8332a450..24c58f19d75609b72efbfc7a8f6b04176e67d4de 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 77c9d55bc853685cf18068de59c1097a0b64da58..2481bc8e542228854fe1c9b454cd08e9d79ad153 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 25d1ed70e2494f29b5944c40f7938f3cc8ded3a6..9532f141e97ac0fef1a7eec779ffa3a26a220049 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"