[patch/rfc] Add host's floatformat

Andreas Schwab schwab@suse.de
Fri Jul 30 09:46:00 GMT 2004


Andrew Cagney <cagney@gnu.org> writes:

> 	* configure.host (gdb_host_float_format, gdb_host_double_format)
> 	(gdb_host_long_double_format): Set according to the host.

2004-07-30  Andreas Schwab  <schwab@suse.de>

	* configure.host: Set host floatformat for m68k.

--- gdb/configure.host	30 Jul 2004 10:54:44 +0200	1.81
+++ gdb/configure.host	30 Jul 2004 10:57:33 +0200	
@@ -165,6 +165,11 @@ hppa*-*-linux*)
 	gdb_host_double_format="&floatformat_ieee_double_big"
 	gdb_host_long_double_format="&floatformat_ieee_double_big"
 	;;
+m68*-*-*)
+	gdb_host_float_format="&floatformat_ieee_single_big"
+	gdb_host_double_format="&floatformat_ieee_double_big"
+	gdb_host_long_double_format="&floatformat_m68881_ext"
+	;;
 *)
 	gdb_host_float_format=0
 	gdb_host_double_format=0

Andreas.

-- 
Andreas Schwab, SuSE Labs, schwab@suse.de
SuSE Linux AG, Maxfeldstraße 5, 90409 Nürnberg, Germany
Key fingerprint = 58CA 54C7 6D53 942B 1756  01D3 44D5 214B 8276 4ED5
"And now for something completely different."



More information about the Gdb-patches mailing list