summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Cagney <cagney@redhat.com>2002-08-06 15:53:08 +0000
committerAndrew Cagney <cagney@redhat.com>2002-08-06 15:53:08 +0000
commit30a6c7057859dd3678f303e3bf80f01850073c4e (patch)
treedce1c38834cf8c857c47e822f5381a6ee0c262ec
parent6eb7f3080c6b51804b1c7951137293959062ef68 (diff)
downloadgdb-30a6c7057859dd3678f303e3bf80f01850073c4e.tar.gz
2002-08-06 Andrew Cagney <ac131313@redhat.com>
* gcore.c: Do not include <sys/procfs.h>. * Makefile.in (gcore.o): Update dependencies.
-rw-r--r--gdb/ChangeLog5
-rw-r--r--gdb/Makefile.in4
-rw-r--r--gdb/gcore.c1
3 files changed, 7 insertions, 3 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index 0df93d6efd2..24c58f19d75 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -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.
diff --git a/gdb/Makefile.in b/gdb/Makefile.in
index 77c9d55bc85..2481bc8e542 100644
--- a/gdb/Makefile.in
+++ b/gdb/Makefile.in
@@ -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) \
diff --git a/gdb/gcore.c b/gdb/gcore.c
index 25d1ed70e24..9532f141e97 100644
--- a/gdb/gcore.c
+++ b/gdb/gcore.c
@@ -23,7 +23,6 @@
#include "inferior.h"
#include "gdbcore.h"
#include "elf-bfd.h"
-#include <sys/procfs.h>
#include "symfile.h"
#include "objfiles.h"