From 2555fe1a4feb03dd0d7c32a51eb049b6fc265aec Mon Sep 17 00:00:00 2001 From: Andrew Cagney Date: Fri, 7 Feb 2003 04:49:34 +0000 Subject: [PATCH] 2003-02-06 Andrew Cagney * Makefile.in (symm-nat.o): Update dependencies. (sparc-nat.o, procfs.o, proc-api.o, ppc-linux-nat.o): Ditto. (lynx-nat.o, ia64-linux-nat.): Ditto. * symm-nat.c, sparc-nat.c, procfs.c, proc-api.c: Include "gdb_wait.h" instead of or . * ppc-linux-nat.c, lynx-nat.c, ia64-linux-nat.c: Ditto. --- gdb/ChangeLog | 7 +++++++ gdb/Makefile.in | 22 +++++++++++++--------- gdb/ia64-linux-nat.c | 5 +++-- gdb/lynx-nat.c | 7 ++++--- gdb/ppc-linux-nat.c | 7 ++++--- gdb/proc-api.c | 6 ++++-- gdb/procfs.c | 7 +++++-- gdb/sparc-nat.c | 8 ++++---- gdb/symm-nat.c | 8 ++++---- 9 files changed, 48 insertions(+), 29 deletions(-) diff --git a/gdb/ChangeLog b/gdb/ChangeLog index f81c39b3b9..73d35296f9 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,5 +1,12 @@ 2003-02-06 Andrew Cagney + * Makefile.in (symm-nat.o): Update dependencies. + (sparc-nat.o, procfs.o, proc-api.o, ppc-linux-nat.o): Ditto. + (lynx-nat.o, ia64-linux-nat.): Ditto. + * symm-nat.c, sparc-nat.c, procfs.c, proc-api.c: Include + "gdb_wait.h" instead of or . + * ppc-linux-nat.c, lynx-nat.c, ia64-linux-nat.c: Ditto. + * Makefile.in (inflow_h): Define. (procfs.o, inflow.o, procfs.o): Update dependencies. * inftarg.c (child_stop): Delete extern declaration of diff --git a/gdb/Makefile.in b/gdb/Makefile.in index e4e10fed2a..6bbd26cc65 100644 --- a/gdb/Makefile.in +++ b/gdb/Makefile.in @@ -1777,8 +1777,8 @@ ia64-aix-nat.o: ia64-aix-nat.c $(defs_h) $(inferior_h) $(target_h) \ $(gdbcore_h) $(regcache_h) $(symtab_h) $(bfd_h) $(symfile_h) \ $(objfiles_h) $(gdb_stat_h) ia64-aix-tdep.o: ia64-aix-tdep.c $(defs_h) -ia64-linux-nat.o: ia64-linux-nat.c $(defs_h) $(inferior_h) $(target_h) \ - $(gdbcore_h) $(regcache_h) $(gregset_h) $(gdb_string_h) +ia64-linux-nat.o: ia64-linux-nat.c $(defs_h) $(gdb_string_h) $(inferior_h) \ + $(target_h) $(gdbcore_h) $(regcache_h) $(gdb_wait_h) $(gregset_h) ia64-linux-tdep.o: ia64-linux-tdep.c $(defs_h) $(arch_utils_h) ia64-tdep.o: ia64-tdep.c $(defs_h) $(inferior_h) $(symfile_h) $(gdbcore_h) \ $(arch_utils_h) $(floatformat_h) $(regcache_h) $(doublest_h) \ @@ -1982,8 +1982,9 @@ ppc-bdm.o: ppc-bdm.c $(defs_h) $(gdbcore_h) $(gdb_string_h) $(frame_h) \ $(inferior_h) $(bfd_h) $(symfile_h) $(target_h) $(gdbcmd_h) \ $(objfiles_h) $(gdb_stabs_h) $(serial_h) $(ocd_h) $(ppc_tdep_h) \ $(regcache_h) -ppc-linux-nat.o: ppc-linux-nat.c $(defs_h) $(frame_h) $(inferior_h) \ - $(gdbcore_h) $(regcache_h) $(gregset_h) $(ppc_tdep_h) $(gdb_string_h) +ppc-linux-nat.o: ppc-linux-nat.c $(defs_h) $(gdb_string_h) $(frame_h) \ + $(inferior_h) $(gdbcore_h) $(regcache_h) $(gdb_wait_h) $(gregset_h) \ + $(ppc_tdep_h) ppc-linux-tdep.o: ppc-linux-tdep.c $(defs_h) $(frame_h) $(inferior_h) \ $(symtab_h) $(target_h) $(gdbcore_h) $(gdbcmd_h) $(symfile_h) \ $(objfiles_h) $(regcache_h) $(value_h) $(solib_svr4_h) $(ppc_tdep_h) \ @@ -2002,15 +2003,17 @@ printcmd.o: printcmd.c $(defs_h) $(gdb_string_h) $(frame_h) $(symtab_h) \ $(gdbcmd_h) $(target_h) $(breakpoint_h) $(demangle_h) $(valprint_h) \ $(annotate_h) $(symfile_h) $(objfiles_h) $(completer_h) $(ui_out_h) \ $(gdb_assert_h) -proc-api.o: proc-api.c $(defs_h) $(gdbcmd_h) $(completer_h) $(proc_utils_h) +proc-api.o: proc-api.c $(defs_h) $(gdbcmd_h) $(completer_h) $(gdb_wait_h) \ + $(proc_utils_h) proc-events.o: proc-events.c $(defs_h) proc-flags.o: proc-flags.c $(defs_h) proc-service.o: proc-service.c $(defs_h) $(gdb_proc_service_h) $(inferior_h) \ $(symtab_h) $(target_h) $(gregset_h) proc-why.o: proc-why.c $(defs_h) $(proc_utils_h) procfs.o: procfs.c $(defs_h) $(inferior_h) $(target_h) $(gdbcore_h) \ - $(elf_bfd_h) $(gdbcmd_h) $(gdbthread_h) $(gdb_assert_h) $(inflow_h) \ - $(gdb_dirent_h) $(X_OK) $(gdb_stat_h) $(proc_utils_h) $(gregset_h) + $(elf_bfd_h) $(gdbcmd_h) $(gdbthread_h) $(gdb_wait_h) $(gdb_assert_h) \ + $(inflow_h) $(gdb_dirent_h) $(X_OK) $(gdb_stat_h) $(proc_utils_h) \ + $(gregset_h) regcache.o: regcache.c $(defs_h) $(inferior_h) $(target_h) $(gdbarch_h) \ $(gdbcmd_h) $(regcache_h) $(reggroups_h) $(gdb_assert_h) \ $(gdb_string_h) $(gdbcmd_h) @@ -2159,7 +2162,7 @@ source.o: source.c $(defs_h) $(symtab_h) $(expression_h) $(language_h) \ $(filenames_h) $(completer_h) $(ui_out_h) $(readline_h) sparc-linux-nat.o: sparc-linux-nat.c $(defs_h) $(regcache_h) $(gregset_h) sparc-nat.o: sparc-nat.c $(defs_h) $(inferior_h) $(target_h) $(gdbcore_h) \ - $(regcache_h) + $(regcache_h) $(gdb_wait_h) sparc-stub.o: sparc-stub.c sparc-tdep.o: sparc-tdep.c $(defs_h) $(arch_utils_h) $(frame_h) \ $(inferior_h) $(target_h) $(value_h) $(bfd_h) $(gdb_string_h) \ @@ -2200,7 +2203,8 @@ symfile.o: symfile.c $(defs_h) $(symtab_h) $(gdbtypes_h) $(gdbcore_h) \ $(completer_h) $(bcache_h) $(gdb_string_h) $(gdb_stat_h) $(source_h) \ $(gdb_assert_h) $(readline_h) $(filenames_h) symm-nat.o: symm-nat.c $(defs_h) $(frame_h) $(inferior_h) $(symtab_h) \ - $(target_h) $(regcache_h) $(gdb_stat_h) $(gdbcore_h) $(gdbcore_h) + $(target_h) $(regcache_h) $(gdb_wait_h) $(gdb_stat_h) $(gdbcore_h) \ + $(gdbcore_h) symm-tdep.o: symm-tdep.c $(defs_h) $(frame_h) $(inferior_h) $(symtab_h) \ $(gdb_stat_h) $(gdbcore_h) symmisc.o: symmisc.c $(defs_h) $(symtab_h) $(gdbtypes_h) $(bfd_h) \ diff --git a/gdb/ia64-linux-nat.c b/gdb/ia64-linux-nat.c index 492da0727a..7d4cc43072 100644 --- a/gdb/ia64-linux-nat.c +++ b/gdb/ia64-linux-nat.c @@ -1,7 +1,8 @@ /* Functions specific to running gdb native on IA-64 running GNU/Linux. - Copyright 1999, 2000, 2001, 2002 Free Software Foundation, Inc. + Copyright 1999, 2000, 2001, 2002, 2003 Free Software Foundation, + Inc. This file is part of GDB. @@ -29,7 +30,7 @@ #include #include -#include +#include "gdb_wait.h" #ifdef HAVE_SYS_REG_H #include #endif diff --git a/gdb/lynx-nat.c b/gdb/lynx-nat.c index b5cb29a630..4be7fb8e1a 100644 --- a/gdb/lynx-nat.c +++ b/gdb/lynx-nat.c @@ -1,6 +1,7 @@ /* Native-dependent code for LynxOS. - Copyright 1993, 1994, 1995, 1996, 1999, 2000, 2001 - Free Software Foundation, Inc. + + Copyright 1993, 1994, 1995, 1996, 1999, 2000, 2001, 2003 Free + Software Foundation, Inc. This file is part of GDB. @@ -27,7 +28,7 @@ #include "regcache.h" #include -#include +#Include "gdb_wait.h" #include static unsigned long registers_addr (int pid); diff --git a/gdb/ppc-linux-nat.c b/gdb/ppc-linux-nat.c index 8e5c4f7a2e..4561e4d648 100644 --- a/gdb/ppc-linux-nat.c +++ b/gdb/ppc-linux-nat.c @@ -1,6 +1,7 @@ /* PPC GNU/Linux native support. - Copyright 1988, 1989, 1991, 1992, 1994, 1996, 2000, 2001, 2002 - Free Software Foundation, Inc. + + Copyright 1988, 1989, 1991, 1992, 1994, 1996, 2000, 2001, 2002, + 2003 Free Software Foundation, Inc. This file is part of GDB. @@ -31,7 +32,7 @@ #include #include #include -#include +#include "gdb_wait.h" #include #include #include diff --git a/gdb/proc-api.c b/gdb/proc-api.c index 3e8b19841a..2d4fe814c9 100644 --- a/gdb/proc-api.c +++ b/gdb/proc-api.c @@ -1,5 +1,7 @@ /* Machine independent support for SVR4 /proc (process file system) for GDB. - Copyright 1999, 2000, 2001 Free Software Foundation, Inc. + + Copyright 1999, 2000, 2001, 2003 Free Software Foundation, Inc. + Written by Michael Snyder at Cygnus Solutions. Based on work by Fred Fish, Stu Grossman, Geoff Noer, and others. @@ -43,7 +45,7 @@ Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ #include /* for struct user */ #endif #include /* for O_RDWR etc. */ -#include +#include "gdb_wait.h" #include "proc-utils.h" diff --git a/gdb/procfs.c b/gdb/procfs.c index 969bbcb2b6..2f14c5d240 100644 --- a/gdb/procfs.c +++ b/gdb/procfs.c @@ -1,5 +1,8 @@ /* Machine independent support for SVR4 /proc (process file system) for GDB. - Copyright 1999, 2000, 2001, 2002 Free Software Foundation, Inc. + + Copyright 1999, 2000, 2001, 2002, 2003 Free Software Foundation, + Inc. + Written by Michael Snyder at Cygnus Solutions. Based on work by Fred Fish, Stu Grossman, Geoff Noer, and others. @@ -39,7 +42,7 @@ Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ #include #endif #include -#include +#include "gdb_wait.h" #include #include #include "gdb_assert.h" diff --git a/gdb/sparc-nat.c b/gdb/sparc-nat.c index 5970b5a039..b634f6c87d 100644 --- a/gdb/sparc-nat.c +++ b/gdb/sparc-nat.c @@ -1,7 +1,7 @@ /* Functions specific to running gdb native on a SPARC running SunOS4. - Copyright 1989, 1992, 1993, 1994, 1996, 1997, 1998, 1999, 2000, 2001, - 2002 - Free Software Foundation, Inc. + + Copyright 1989, 1992, 1993, 1994, 1996, 1997, 1998, 1999, 2000, + 2001, 2002, 2003 Free Software Foundation, Inc. This file is part of GDB. @@ -31,7 +31,7 @@ #endif #include #include -#include +#include "gdb_wait.h" #ifdef __linux__ #include #else diff --git a/gdb/symm-nat.c b/gdb/symm-nat.c index fb52754d4e..79caf5a938 100644 --- a/gdb/symm-nat.c +++ b/gdb/symm-nat.c @@ -1,7 +1,7 @@ /* Sequent Symmetry host interface, for GDB when running under Unix. - Copyright 1986, 1987, 1989, 1991, 1992, 1993, 1994, 1995, 1999, 2000, - 2001 - Free Software Foundation, Inc. + + Copyright 1986, 1987, 1989, 1991, 1992, 1993, 1994, 1995, 1999, + 2000, 2001, 2003 Free Software Foundation, Inc. This file is part of GDB. @@ -34,7 +34,7 @@ #define _INKERNEL #include #undef _INKERNEL -#include +#include "gdb_wait.h" #include #include #include -- 2.34.1