This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
[commit] Remove some bogus includes from s390-tdep.c
- From: Mark Kettenis <mark dot kettenis at xs4all dot nl>
- To: gdb-patches at sourceware dot org
- Date: Sun, 15 Jan 2006 14:45:42 +0100 (CET)
- Subject: [commit] Remove some bogus includes from s390-tdep.c
We get "tm.h" and "bfd.h" from "defs.h".
Committed as obvious.
Mark
Index: ChangeLog
===================================================================
RCS file: /cvs/src/src/gdb/ChangeLog,v
retrieving revision 1.7525
diff -u -p -r1.7525 ChangeLog
--- ChangeLog 15 Jan 2006 00:22:50 -0000 1.7525
+++ ChangeLog 15 Jan 2006 13:42:07 -0000
@@ -1,3 +1,8 @@
+2006-01-15 Mark Kettenis <kettenis@gnu.org>
+
+ * s390-tdep.c: Do not include "tm.h" and "../bfd/bfd.h".
+ * Makefile.in (s390-tdep.o): Update dependencies.
+
2006-01-14 Mark Kettenis <kettenis@gnu.org>
* sol2-tdep.h. sol2-tdep.c: New files.
Index: Makefile.in
===================================================================
RCS file: /cvs/src/src/gdb/Makefile.in,v
retrieving revision 1.774
diff -u -p -r1.774 Makefile.in
--- Makefile.in 15 Jan 2006 00:22:50 -0000 1.774
+++ Makefile.in 15 Jan 2006 13:42:10 -0000
@@ -2498,10 +2498,9 @@ s390-nat.o: s390-nat.c $(defs_h) $(tm_h)
$(s390_tdep_h) $(target_h) $(linux_nat_h)
s390-tdep.o: s390-tdep.c $(defs_h) $(arch_utils_h) $(frame_h) $(inferior_h) \
$(symtab_h) $(target_h) $(gdbcore_h) $(gdbcmd_h) $(objfiles_h) \
- $(tm_h) $(__bfd_bfd_h) $(floatformat_h) $(regcache_h) \
- $(trad_frame_h) $(frame_base_h) $(frame_unwind_h) $(dwarf2_frame_h) \
- $(reggroups_h) $(regset_h) $(value_h) $(gdb_assert_h) $(dis_asm_h) \
- $(solib_svr4_h) $(s390_tdep_h)
+ $(floatformat_h) $(regcache_h) $(trad_frame_h) $(frame_base_h) \
+ $(frame_unwind_h) $(dwarf2_frame_h) $(reggroups_h) $(regset_h) \
+ $(value_h) $(gdb_assert_h) $(dis_asm_h) $(solib_svr4_h) $(s390_tdep_h)
scm-exp.o: scm-exp.c $(defs_h) $(symtab_h) $(gdbtypes_h) $(expression_h) \
$(parser_defs_h) $(language_h) $(value_h) $(c_lang_h) $(scm_lang_h) \
$(scm_tags_h)
Index: s390-tdep.c
===================================================================
RCS file: /cvs/src/src/gdb/s390-tdep.c,v
retrieving revision 1.148
diff -u -p -r1.148 s390-tdep.c
--- s390-tdep.c 17 Dec 2005 22:34:02 -0000 1.148
+++ s390-tdep.c 15 Jan 2006 13:42:12 -0000
@@ -1,7 +1,7 @@
/* Target-dependent code for GDB, the GNU debugger.
- Copyright (C) 2001, 2002, 2003, 2004, 2005 Free Software Foundation,
- Inc.
+ Copyright (C) 2001, 2002, 2003, 2004, 2005, 2006
+ Free Software Foundation, Inc.
Contributed by D.J. Barrow (djbarrow@de.ibm.com,barrow_dj@yahoo.com)
for IBM Deutschland Entwicklung GmbH, IBM Corporation.
@@ -32,8 +32,6 @@
#include "gdbcore.h"
#include "gdbcmd.h"
#include "objfiles.h"
-#include "tm.h"
-#include "../bfd/bfd.h"
#include "floatformat.h"
#include "regcache.h"
#include "trad-frame.h"