This is the mail archive of the
gdb-patches@sources.redhat.com
mailing list for the GDB project.
Re: [patch/rfc] Add host's floatformat
- From: Andreas Schwab <schwab at suse dot de>
- To: gdb-patches at sources dot redhat dot com
- Date: Fri, 30 Jul 2004 11:45:58 +0200
- Subject: Re: [patch/rfc] Add host's floatformat
- References: <40939DD4.3000706@gnu.org> <41095190.7020508@gnu.org>
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."