This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[ob] Fix floatformat headers


My recent pair-of-floatformats patch added a lot of dependencies on
"gdbtypes.h".  Mark fixed up one of them - here's all the others.
No, I didn't break this many targets; only mips-linux,
powerpc-openbsd, and sparc-linux fail to build without this patch.
The other dependencies are just for thoroughness's sake.

Tested by building crosses including each one of these files.  Checked
in.

-- 
Daniel Jacobowitz
CodeSourcery

2007-02-16  Daniel Jacobowitz  <dan@codesourcery.com>

	* avr-tdep.c, hppa-tdep.c, hppabsd-tdep.c, i386-tdep.c,
	ia64-tdep.c, m68k-tdep.c, mips-linux-tdep.c, ppcobsd-tdep.c,
	sparc-linux-tdep.c: Include "gdbtypes.h" instead of "floatformat.h".
	* Makefile.in (avr-tdep.o, hppabsd-tdep.o, hppa-tdep.o, i386-tdep.o)
	(ia64-tdep.o, m68k-tdep.o, mips-linux-tdep.o, ppcobsd-tdep.o)
	(sparc-linux-tdep.o): Update.

Index: avr-tdep.c
===================================================================
RCS file: /cvs/src/src/gdb/avr-tdep.c,v
retrieving revision 1.92
diff -u -p -r1.92 avr-tdep.c
--- avr-tdep.c	29 Jan 2007 17:31:05 -0000	1.92
+++ avr-tdep.c	16 Feb 2007 21:44:34 -0000
@@ -32,6 +32,7 @@
 #include "trad-frame.h"
 #include "gdbcmd.h"
 #include "gdbcore.h"
+#include "gdbtypes.h"
 #include "inferior.h"
 #include "symfile.h"
 #include "arch-utils.h"
Index: hppa-tdep.c
===================================================================
RCS file: /cvs/src/src/gdb/hppa-tdep.c,v
retrieving revision 1.225
diff -u -p -r1.225 hppa-tdep.c
--- hppa-tdep.c	29 Jan 2007 17:31:06 -0000	1.225
+++ hppa-tdep.c	16 Feb 2007 21:44:34 -0000
@@ -41,6 +41,7 @@
 
 #include "gdbcore.h"
 #include "gdbcmd.h"
+#include "gdbtypes.h"
 #include "objfiles.h"
 #include "hppa-tdep.h"
 
Index: hppabsd-tdep.c
===================================================================
RCS file: /cvs/src/src/gdb/hppabsd-tdep.c,v
retrieving revision 1.8
diff -u -p -r1.8 hppabsd-tdep.c
--- hppabsd-tdep.c	29 Jan 2007 17:31:06 -0000	1.8
+++ hppabsd-tdep.c	16 Feb 2007 21:44:34 -0000
@@ -21,6 +21,7 @@
 
 #include "defs.h"
 #include "arch-utils.h"
+#include "gdbtypes.h"
 #include "symtab.h"
 #include "objfiles.h"
 #include "osabi.h"
Index: i386-tdep.c
===================================================================
RCS file: /cvs/src/src/gdb/i386-tdep.c,v
retrieving revision 1.230
diff -u -p -r1.230 i386-tdep.c
--- i386-tdep.c	29 Jan 2007 17:31:06 -0000	1.230
+++ i386-tdep.c	16 Feb 2007 21:44:35 -0000
@@ -27,13 +27,13 @@
 #include "dummy-frame.h"
 #include "dwarf2-frame.h"
 #include "doublest.h"
-#include "floatformat.h"
 #include "frame.h"
 #include "frame-base.h"
 #include "frame-unwind.h"
 #include "inferior.h"
 #include "gdbcmd.h"
 #include "gdbcore.h"
+#include "gdbtypes.h"
 #include "objfiles.h"
 #include "osabi.h"
 #include "regcache.h"
Index: ia64-tdep.c
===================================================================
RCS file: /cvs/src/src/gdb/ia64-tdep.c,v
retrieving revision 1.145
diff -u -p -r1.145 ia64-tdep.c
--- ia64-tdep.c	29 Jan 2007 17:31:06 -0000	1.145
+++ ia64-tdep.c	16 Feb 2007 21:44:35 -0000
@@ -25,6 +25,7 @@
 #include "gdbcore.h"
 #include "arch-utils.h"
 #include "floatformat.h"
+#include "gdbtypes.h"
 #include "regcache.h"
 #include "reggroups.h"
 #include "frame.h"
Index: m68k-tdep.c
===================================================================
RCS file: /cvs/src/src/gdb/m68k-tdep.c,v
retrieving revision 1.110
diff -u -p -r1.110 m68k-tdep.c
--- m68k-tdep.c	29 Jan 2007 17:31:06 -0000	1.110
+++ m68k-tdep.c	16 Feb 2007 21:44:35 -0000
@@ -25,7 +25,7 @@
 #include "frame.h"
 #include "frame-base.h"
 #include "frame-unwind.h"
-#include "floatformat.h"
+#include "gdbtypes.h"
 #include "symtab.h"
 #include "gdbcore.h"
 #include "value.h"
Index: mips-linux-tdep.c
===================================================================
RCS file: /cvs/src/src/gdb/mips-linux-tdep.c,v
retrieving revision 1.50
diff -u -p -r1.50 mips-linux-tdep.c
--- mips-linux-tdep.c	29 Jan 2007 17:31:06 -0000	1.50
+++ mips-linux-tdep.c	16 Feb 2007 21:44:35 -0000
@@ -32,7 +32,7 @@
 #include "regcache.h"
 #include "trad-frame.h"
 #include "tramp-frame.h"
-#include "floatformat.h"
+#include "gdbtypes.h"
 #include "solib.h"
 #include "symtab.h"
 #include "mips-linux-tdep.h"
Index: ppcobsd-tdep.c
===================================================================
RCS file: /cvs/src/src/gdb/ppcobsd-tdep.c,v
retrieving revision 1.14
diff -u -p -r1.14 ppcobsd-tdep.c
--- ppcobsd-tdep.c	29 Jan 2007 17:31:06 -0000	1.14
+++ ppcobsd-tdep.c	16 Feb 2007 21:44:35 -0000
@@ -21,9 +21,9 @@
 
 #include "defs.h"
 #include "arch-utils.h"
-#include "floatformat.h"
 #include "frame.h"
 #include "frame-unwind.h"
+#include "gdbtypes.h"
 #include "osabi.h"
 #include "regcache.h"
 #include "regset.h"
Index: sparc-linux-tdep.c
===================================================================
RCS file: /cvs/src/src/gdb/sparc-linux-tdep.c,v
retrieving revision 1.20
diff -u -p -r1.20 sparc-linux-tdep.c
--- sparc-linux-tdep.c	29 Jan 2007 17:31:06 -0000	1.20
+++ sparc-linux-tdep.c	16 Feb 2007 21:44:35 -0000
@@ -21,9 +21,9 @@
 
 #include "defs.h"
 #include "dwarf2-frame.h"
-#include "floatformat.h"
 #include "frame.h"
 #include "frame-unwind.h"
+#include "gdbtypes.h"
 #include "regset.h"
 #include "gdbarch.h"
 #include "gdbcore.h"
Index: Makefile.in
===================================================================
RCS file: /cvs/src/src/gdb/Makefile.in,v
retrieving revision 1.876
diff -u -p -r1.876 Makefile.in
--- Makefile.in	8 Feb 2007 21:00:28 -0000	1.876
+++ Makefile.in	16 Feb 2007 21:47:56 -0000
@@ -1831,7 +1831,7 @@ auxv.o: auxv.c $(defs_h) $(target_h) $(g
 avr-tdep.o: avr-tdep.c $(defs_h) $(frame_h) $(frame_unwind_h) \
 	$(frame_base_h) $(trad_frame_h) $(gdbcmd_h) $(gdbcore_h) \
 	$(inferior_h) $(symfile_h) $(arch_utils_h) $(regcache_h) \
-	$(gdb_string_h) $(dis_asm_h)
+	$(gdb_string_h) $(dis_asm_h) $(gdbtypes_h)
 ax-gdb.o: ax-gdb.c $(defs_h) $(symtab_h) $(symfile_h) $(gdbtypes_h) \
 	$(value_h) $(expression_h) $(command_h) $(gdbcmd_h) $(frame_h) \
 	$(target_h) $(ax_h) $(ax_gdb_h) $(gdb_string_h) $(block_h) \
@@ -2081,7 +2081,7 @@ hppabsd-nat.o: hppabsd-nat.c $(defs_h) $
 hppabsd-tdep.o: hppabsd-tdep.c $(defs_h) $(arch_utils_h) $(symtab_h) \
 	$(objfiles_h) $(osabi_h) $(regcache_h) $(regset_h) $(target_h) \
 	$(value_h) $(gdb_assert_h) $(gdb_string_h) $(elf_common_h) \
-	$(hppa_tdep_h) $(solib_svr4_h)
+	$(hppa_tdep_h) $(solib_svr4_h) $(gdbtypes_h)
 hppa-hpux-nat.o: hppa-hpux-nat.c $(defs_h) $(inferior_h) $(regcache_h) \
 	$(target_h) $(gdb_assert_h) $(hppa_tdep_h) $(inf_ptrace_h) \
 	$(inf_ttrace_h)
@@ -2101,7 +2101,7 @@ hppa-tdep.o: hppa-tdep.c $(defs_h) $(bfd
 	$(completer_h) $(osabi_h) $(gdb_assert_h) $(arch_utils_h) \
 	$(symtab_h) $(dis_asm_h) $(trad_frame_h) $(frame_unwind_h) \
 	$(frame_base_h) $(gdbcore_h) $(gdbcmd_h) $(objfiles_h) \
-	$(hppa_tdep_h)
+	$(hppa_tdep_h) $(gdbtypes_h)
 hpread.o: hpread.c $(defs_h) $(bfd_h) $(gdb_string_h) $(hp_symtab_h) \
 	$(syms_h) $(symtab_h) $(symfile_h) $(objfiles_h) $(buildsym_h) \
 	$(complaints_h) $(gdb_stabs_h) $(gdbtypes_h) $(demangle_h) \
@@ -2157,7 +2157,7 @@ i386-sol2-tdep.o: i386-sol2-tdep.c $(def
 	$(gdb_string_h) $(sol2_tdep_h) $(i386_tdep_h) $(solib_svr4_h)
 i386-stub.o: i386-stub.c
 i386-tdep.o: i386-tdep.c $(defs_h) $(arch_utils_h) $(command_h) \
-	$(dummy_frame_h) $(dwarf2_frame_h) $(doublest_h) $(floatformat_h) \
+	$(dummy_frame_h) $(dwarf2_frame_h) $(doublest_h) $(gdbtypes_h) \
 	$(frame_h) $(frame_base_h) $(frame_unwind_h) $(inferior_h) \
 	$(gdbcmd_h) $(gdbcore_h) $(objfiles_h) $(osabi_h) $(regcache_h) \
 	$(reggroups_h) $(regset_h) $(symfile_h) $(symtab_h) $(target_h) \
@@ -2183,7 +2183,7 @@ ia64-tdep.o: ia64-tdep.c $(defs_h) $(inf
 	$(value_h) $(gdb_assert_h) $(objfiles_h) $(elf_common_h) \
 	$(elf_bfd_h) $(dis_asm_h) $(infcall_h) $(osabi_h) $(ia64_tdep_h) \
 	$(elf_ia64_h) $(libunwind_frame_h) $(libunwind_ia64_h) \
-	$(cp_abi_h)
+	$(cp_abi_h) $(gdbtypes_h)
 infcall.o: infcall.c $(defs_h) $(breakpoint_h) $(target_h) $(regcache_h) \
 	$(inferior_h) $(gdb_assert_h) $(block_h) $(gdbcore_h) $(language_h) \
 	$(objfiles_h) $(gdbcmd_h) $(command_h) $(gdb_string_h) $(infcall_h) \
@@ -2322,7 +2322,7 @@ m68klinux-tdep.o: m68klinux-tdep.c $(def
 	$(solib_svr4_h)
 m68k-stub.o: m68k-stub.c
 m68k-tdep.o: m68k-tdep.c $(defs_h) $(dwarf2_frame_h) $(frame_h) \
-	$(frame_base_h) $(frame_unwind_h) $(floatformat_h) $(symtab_h) \
+	$(frame_base_h) $(frame_unwind_h) $(gdbtypes_h) $(symtab_h) \
 	$(gdbcore_h) $(value_h) $(gdb_string_h) $(gdb_assert_h) \
 	$(inferior_h) $(regcache_h) $(arch_utils_h) $(osabi_h) $(dis_asm_h) \
 	$(m68k_tdep_h) $(gregset_h)
@@ -2373,7 +2373,7 @@ mips-linux-nat.o: mips-linux-nat.c $(def
 mips-linux-tdep.o: mips-linux-tdep.c $(defs_h) $(gdbcore_h) $(target_h) \
 	$(solib_svr4_h) $(osabi_h) $(mips_tdep_h) $(gdb_string_h) \
 	$(gdb_assert_h) $(frame_h) $(regcache_h) $(trad_frame_h) \
-	$(tramp_frame_h) $(floatformat_h) $(solib_h) $(symtab_h) \
+	$(tramp_frame_h) $(gdbtypes_h) $(solib_h) $(symtab_h) \
 	$(mips_linux_tdep_h)
 mips-mdebug-tdep.o: mips-mdebug-tdep.c $(defs_h) $(frame_h) $(mips_tdep_h) \
 	$(trad_frame_h) $(block_h) $(symtab_h) $(objfiles_h) $(elf_mips_h) \
@@ -2485,7 +2485,7 @@ ppcnbsd-tdep.o: ppcnbsd-tdep.c $(defs_h)
 ppcobsd-nat.o: ppcobsd-nat.c $(defs_h) $(gdbcore_h) $(inferior_h) \
 	$(regcache_h) $(gdb_assert_h) $(ppc_tdep_h) $(ppcobsd_tdep_h) \
 	$(bsd_kvm_h) $(inf_ptrace_h)
-ppcobsd-tdep.o: ppcobsd-tdep.c $(defs_h) $(arch_utils_h) $(floatformat_h) \
+ppcobsd-tdep.o: ppcobsd-tdep.c $(defs_h) $(arch_utils_h) $(gdbtypes_h) \
 	$(frame_h) $(frame_unwind_h) $(osabi_h) $(regcache_h) $(regset_h) \
 	$(symtab_h) $(trad_frame_h) $(gdb_assert_h) $(gdb_string_h) \
 	$(ppc_tdep_h) $(ppcobsd_tdep_h) $(solib_svr4_h)
@@ -2714,7 +2714,7 @@ sparc-linux-nat.o: sparc-linux-nat.c $(d
 	$(sparc_tdep_h) $(sparc_nat_h) $(inferior_h) $(target_h) \
 	$(linux_nat_h)
 sparc-linux-tdep.o: sparc-linux-tdep.c $(defs_h) $(dwarf2_frame_h) \
-	$(floatformat_h) $(frame_h) $(frame_unwind_h) $(regset_h) \
+	$(gdbtypes_h) $(frame_h) $(frame_unwind_h) $(regset_h) \
 	$(gdbarch_h) $(gdbcore_h) $(osabi_h) $(regcache_h) $(solib_svr4_h) \
 	$(symtab_h) $(trad_frame_h) $(tramp_frame_h) $(sparc_tdep_h)
 sparc-nat.o: sparc-nat.c $(defs_h) $(inferior_h) $(regcache_h) $(target_h) \


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]