Convert some floatformat_{to,from}_double to floatformat_{to,from}_doublest.
authorAndrew Cagney <cagney@redhat.com>
Sun, 12 Aug 2001 03:19:22 +0000 (03:19 +0000)
committerAndrew Cagney <cagney@redhat.com>
Sun, 12 Aug 2001 03:19:22 +0000 (03:19 +0000)
gdb/ChangeLog
gdb/config/i386/tm-symmetry.h
gdb/config/m88k/tm-m88k.h

index 2ed8cb09735c3a144346f81c8846cd1f3eaff49a..6441d573c348ab5c9adf25e0cea2e3037f165144 100644 (file)
@@ -1,3 +1,11 @@
+2001-08-11  Andrew Cagney  <ac131313@redhat.com>
+
+       * config/i386/tm-symmetry.h (REGISTER_CONVERT_TO_VIRTUAL): Make
+       val a DOUBLEST.  Use floatformat_to_doublest.
+       (REGISTER_CONVERT_TO_RAW): Ditto.  Use foatformat_from_doublest.
+       * config/m88k/tm-m88k.h (REGISTER_CONVERT_TO_VIRTUAL): Ditto.
+       (REGISTER_CONVERT_TO_RAW): Ditto.
+
 2001-08-11  Andrew Cagney  <ac131313@redhat.com>
 
        * config/mn10300/tm-mn10300.h (PC_REGNUM, SP_REGNUM): Delete.
index 602568d02195bbefc2d2b77064f4474bed9d3807..a335ba92cf5c10f4bc3a6bc6cd856ff9a7f6fdaa 100644 (file)
@@ -268,8 +268,8 @@ switch (regno) { \
 #undef REGISTER_CONVERT_TO_VIRTUAL
 #define REGISTER_CONVERT_TO_VIRTUAL(REGNUM,TYPE,FROM,TO) \
 { \
-  double val; \
-  floatformat_to_double (&floatformat_i387_ext, (FROM), &val); \
+  DOUBLEST val; \
+  floatformat_to_doublest (&floatformat_i387_ext, (FROM), &val); \
   store_floating ((TO), TYPE_LENGTH (TYPE), val); \
 }
 
@@ -279,8 +279,8 @@ switch (regno) { \
 #undef REGISTER_CONVERT_TO_RAW
 #define REGISTER_CONVERT_TO_RAW(TYPE,REGNUM,FROM,TO) \
 { \
-  double val = extract_floating ((FROM), TYPE_LENGTH (TYPE)); \
-  floatformat_from_double (&floatformat_i387_ext, &val, (TO)); \
+  DOUBLEST val = extract_floating ((FROM), TYPE_LENGTH (TYPE)); \
+  floatformat_from_doublest (&floatformat_i387_ext, &val, (TO)); \
 }
 
 /* Return the GDB type object for the "standard" data type
index bb47fa0df4554c44f8f965a9d4f7f39c3660ae44..f3afc9e6f20b40122d8f7fc1ff76f138c5bcc31c 100644 (file)
@@ -392,8 +392,8 @@ if (!target_is_m88110) \
 
 #define REGISTER_CONVERT_TO_VIRTUAL(REGNUM,TYPE,FROM,TO) \
 { \
-  double val; \
-  floatformat_to_double (&floatformat_m88110_ext, (FROM), &val); \
+  DOUBLEST val; \
+  floatformat_to_doublest (&floatformat_m88110_ext, (FROM), &val); \
   store_floating ((TO), TYPE_LENGTH (TYPE), val); \
 }
 
@@ -402,8 +402,8 @@ if (!target_is_m88110) \
 
 #define REGISTER_CONVERT_TO_RAW(TYPE,REGNUM,FROM,TO)   \
 { \
-  double val = extract_floating ((FROM), TYPE_LENGTH (TYPE)); \
-  floatformat_from_double (&floatformat_m88110_ext, &val, (TO)); \
+  DOUBLEST val = extract_floating ((FROM), TYPE_LENGTH (TYPE)); \
+  floatformat_from_doublest (&floatformat_m88110_ext, &val, (TO)); \
 }
 
 /* Return the GDB type object for the "standard" data type