This is the mail archive of the
gdb-patches@sources.redhat.com
mailing list for the GDB project.
[PATCH] Makefile rule for gcore, linux-proc modules.
- From: Michael Snyder <msnyder at cygnus dot com>
- To: gdb-patches at sources dot redhat dot com
- Date: Thu, 10 Jan 2002 15:27:59 -0800
- Subject: [PATCH] Makefile rule for gcore, linux-proc modules.
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.
Index: gcore.c
===================================================================
RCS file: /cvs/src/src/gdb/gcore.c,v
retrieving revision 1.1
diff -c -3 -p -r1.1 gcore.c
*** gcore.c 2002/01/09 00:36:57 1.1
--- gcore.c 2002/01/10 23:31:38
***************
*** 19,25 ****
Boston, MA 02111-1307, USA. */
#include "defs.h"
! #include "command.h"
#include "inferior.h"
#include "gdbcore.h"
#include "elf-bfd.h"
--- 19,25 ----
Boston, MA 02111-1307, USA. */
#include "defs.h"
! #include "cli/cli-decode.h"
#include "inferior.h"
#include "gdbcore.h"
#include "elf-bfd.h"
Index: Makefile.in
===================================================================
RCS file: /cvs/src/src/gdb/Makefile.in,v
retrieving revision 1.148
diff -c -3 -p -r1.148 Makefile.in
*** Makefile.in 2002/01/08 22:09:46 1.148
--- Makefile.in 2002/01/10 23:31:38
***************
*** 1,5 ****
# Copyright 1989, 1990, 1991, 1992, 1993, 1994, 1995, 1996, 1997, 1998,
! # 1999, 2000, 2001 Free Software Foundation, Inc.
# This file is part of GDB.
--- 1,5 ----
# Copyright 1989, 1990, 1991, 1992, 1993, 1994, 1995, 1996, 1997, 1998,
! # 1999, 2000, 2001, 2002 Free Software Foundation, Inc.
# This file is part of GDB.
*************** corefile.o: corefile.c $(dis_asm_h) $(de
*** 1333,1338 ****
--- 1333,1344 ----
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)