From b4d5ed91aeaa7adad902df2121e0c4b3cfee35b7 Mon Sep 17 00:00:00 2001 From: Joel Brobecker Date: Tue, 29 Jan 2008 21:26:04 +0000 Subject: [PATCH] * nto-tdep.h: Remove #include "defs.h". * nto-tdep.c: Add #include "defs.h". * Makefile.in (nto_tdep_h): Update dependencies. (nto-tdep.o): Likewise. --- gdb/ChangeLog | 7 +++++++ gdb/Makefile.in | 5 +++-- gdb/nto-tdep.c | 1 + gdb/nto-tdep.h | 1 - 4 files changed, 11 insertions(+), 3 deletions(-) diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 735e1e96d45..e6c402560ac 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,10 @@ +2008-01-29 Joel Brobecker + + * nto-tdep.h: Remove #include "defs.h". + * nto-tdep.c: Add #include "defs.h". + * Makefile.in (nto_tdep_h): Update dependencies. + (nto-tdep.o): Likewise. + 2008-01-29 Joel Brobecker * infrun.c (wait_for_inferior): Add treat_exec_as_sigtrap parameter diff --git a/gdb/Makefile.in b/gdb/Makefile.in index e3c5bf41960..113efb14d69 100644 --- a/gdb/Makefile.in +++ b/gdb/Makefile.in @@ -839,7 +839,7 @@ mn10300_tdep_h = mn10300-tdep.h monitor_h = monitor.h nbsd_nat_h = nbsd-nat.h nbsd_tdep_h = nbsd-tdep.h -nto_tdep_h = nto-tdep.h $(defs_h) $(solist_h) $(osabi_h) $(regset_h) +nto_tdep_h = nto-tdep.h $(solist_h) $(osabi_h) $(regset_h) objc_lang_h = objc-lang.h objfiles_h = objfiles.h $(gdb_obstack_h) $(symfile_h) obsd_tdep_h = obsd-tdep.h @@ -2518,7 +2518,8 @@ nbsd-tdep.o: nbsd-tdep.c $(defs_h) $(gdb_string_h) $(solib_svr4_h) nto-procfs.o: nto-procfs.c $(defs_h) $(gdb_dirent_h) $(exceptions_h) \ $(gdb_string_h) $(gdbcore_h) $(inferior_h) $(target_h) $(objfiles_h) \ $(gdbthread_h) $(nto_tdep_h) $(command_h) $(regcache_h) $(solib_h) -nto-tdep.o: nto-tdep.c $(gdb_stat_h) $(gdb_string_h) $(nto_tdep_h) $(top_h) \ +nto-tdep.o: nto-tdep.c $(defs_h) $(gdb_stat_h) $(gdb_string_h) $(nto_tdep_h) \ + $(top_h) \ $(cli_decode_h) $(cli_cmds_h) $(inferior_h) $(gdbarch_h) $(bfd_h) \ $(elf_bfd_h) $(solib_svr4_h) $(gdbcore_h) $(objfiles_h) objc-exp.o: objc-exp.c $(defs_h) $(gdb_string_h) $(expression_h) \ diff --git a/gdb/nto-tdep.c b/gdb/nto-tdep.c index 58da9c2bd2d..9abd28ccf22 100644 --- a/gdb/nto-tdep.c +++ b/gdb/nto-tdep.c @@ -19,6 +19,7 @@ You should have received a copy of the GNU General Public License along with this program. If not, see . */ +#include "defs.h" #include "gdb_stat.h" #include "gdb_string.h" #include "nto-tdep.h" diff --git a/gdb/nto-tdep.h b/gdb/nto-tdep.h index 8d91b48de9b..6db2b064973 100644 --- a/gdb/nto-tdep.h +++ b/gdb/nto-tdep.h @@ -22,7 +22,6 @@ #ifndef _NTO_TDEP_H #define _NTO_TDEP_H -#include "defs.h" #include "solist.h" #include "osabi.h" #include "regset.h" -- 2.30.2