This is the mail archive of the gdb-patches@sources.redhat.com 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]

Re: [patch/rfc] Add host's floatformat


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."


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