This is the mail archive of the
gdb-patches@sources.redhat.com
mailing list for the GDB project.
Re: [Fwd: gcore for netbsd]
I've checked the attached in (first bit :-).
Andrew
2002-08-06 Andrew Cagney <ac131313@redhat.com>
* gcore.c: Do not include <sys/procfs.h>.
* Makefile.in (gcore.o): Update dependencies.
Index: Makefile.in
===================================================================
RCS file: /cvs/src/src/gdb/Makefile.in,v
retrieving revision 1.233
diff -u -r1.233 Makefile.in
--- Makefile.in 5 Aug 2002 16:17:41 -0000 1.233
+++ Makefile.in 6 Aug 2002 15:51:34 -0000
@@ -1404,8 +1404,8 @@
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: gcore.c
===================================================================
RCS file: /cvs/src/src/gdb/gcore.c,v
retrieving revision 1.5
diff -u -r1.5 gcore.c
--- gcore.c 12 Apr 2002 23:09:48 -0000 1.5
+++ gcore.c 6 Aug 2002 15:51:34 -0000
@@ -23,7 +23,6 @@
#include "inferior.h"
#include "gdbcore.h"
#include "elf-bfd.h"
-#include <sys/procfs.h>
#include "symfile.h"
#include "objfiles.h"