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.
This commit is contained in:
Michael Snyder
2002-01-10 23:32:25 +00:00
parent b87011e952
commit c18be923ef
3 changed files with 11 additions and 2 deletions

View File

@@ -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

View File

@@ -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) \

View File

@@ -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"