aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Snyder <msnyder@vmware.com>2002-01-10 23:32:25 +0000
committerMichael Snyder <msnyder@vmware.com>2002-01-10 23:32:25 +0000
commitc18be923ef2ab59f29f55706b725f886c110113b (patch)
tree1f8a2101cdd85558bd14c164b061a47d89c5368e
parentb87011e95221f8390c2c2304fec74aa090b68d39 (diff)
downloadfsf-binutils-gdb-c18be923ef2ab59f29f55706b725f886c110113b.zip
fsf-binutils-gdb-c18be923ef2ab59f29f55706b725f886c110113b.tar.gz
fsf-binutils-gdb-c18be923ef2ab59f29f55706b725f886c110113b.tar.bz2
2002-01-10 Michael Snyder <msnyder@redhat.com>
* Makefile.in: Add rules for gcore.o and linux-proc.o. * gcore.c: Include cli/cli-decode.h instead of command.h.
-rw-r--r--gdb/ChangeLog3
-rw-r--r--gdb/Makefile.in8
-rw-r--r--gdb/gcore.c2
3 files changed, 11 insertions, 2 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index 195405f..0907307 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -1,5 +1,8 @@
2002-01-10 Michael Snyder <msnyder@redhat.com>
+ * Makefile.in: Add rules for gcore.o and linux-proc.o.
+ * gcore.c: Include cli/cli-decode.h instead of command.h.
+
* main.c (captured_main): Add new command line option "--pid".
If the second command line argument (following the symbol-file)
begins with a digit, try to attach to it before trying to open
diff --git a/gdb/Makefile.in b/gdb/Makefile.in
index d9b79a7..0c92c1e 100644
--- a/gdb/Makefile.in
+++ b/gdb/Makefile.in
@@ -1,5 +1,5 @@
# Copyright 1989, 1990, 1991, 1992, 1993, 1994, 1995, 1996, 1997, 1998,
-# 1999, 2000, 2001 Free Software Foundation, Inc.
+# 1999, 2000, 2001, 2002 Free Software Foundation, Inc.
# This file is part of GDB.
@@ -1334,6 +1334,12 @@ 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)
+
+linux-proc.o: linux-proc.c $(defs_h) $(inferior_h) $(gregset_h) \
+ $(gdbcore_h) $(gdbthread_h) $(BFD_SRC)/elf-bfd.h
+
cp-abi.o: cp-abi.c $(defs_h) $(value_h) $(cp_abi_h)
cp-valprint.o: cp-valprint.c $(defs_h) $(expression_h) $(gdbcmd_h) \
diff --git a/gdb/gcore.c b/gdb/gcore.c
index 48ed6a3..2e81d5b 100644
--- a/gdb/gcore.c
+++ b/gdb/gcore.c
@@ -19,7 +19,7 @@
Boston, MA 02111-1307, USA. */
#include "defs.h"
-#include "command.h"
+#include "cli/cli-decode.h"
#include "inferior.h"
#include "gdbcore.h"
#include "elf-bfd.h"