aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoel Brobecker <brobecker@gnat.com>2008-01-29 21:26:04 +0000
committerJoel Brobecker <brobecker@gnat.com>2008-01-29 21:26:04 +0000
commitb4d5ed91aeaa7adad902df2121e0c4b3cfee35b7 (patch)
treecd3df1e00c8586d4ea900459d6a32f4f39ce10df
parent107313f766c0c3931666da3eb333cf66a099df48 (diff)
downloadfsf-binutils-gdb-b4d5ed91aeaa7adad902df2121e0c4b3cfee35b7.zip
fsf-binutils-gdb-b4d5ed91aeaa7adad902df2121e0c4b3cfee35b7.tar.gz
fsf-binutils-gdb-b4d5ed91aeaa7adad902df2121e0c4b3cfee35b7.tar.bz2
* 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.
-rw-r--r--gdb/ChangeLog7
-rw-r--r--gdb/Makefile.in5
-rw-r--r--gdb/nto-tdep.c1
-rw-r--r--gdb/nto-tdep.h1
4 files changed, 11 insertions, 3 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index 735e1e9..e6c4025 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -1,5 +1,12 @@
2008-01-29 Joel Brobecker <brobecker@adacore.com>
+ * 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 <brobecker@adacore.com>
+
* infrun.c (wait_for_inferior): Add treat_exec_as_sigtrap parameter
and use it.
(proceed, start_remote): Update call to wait_for_inferior.
diff --git a/gdb/Makefile.in b/gdb/Makefile.in
index e3c5bf4..113efb1 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 58da9c2..9abd28c 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 <http://www.gnu.org/licenses/>. */
+#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 8d91b48..6db2b06 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"