diff options
author | Andrew Cagney <cagney@redhat.com> | 2001-08-12 03:19:22 +0000 |
---|---|---|
committer | Andrew Cagney <cagney@redhat.com> | 2001-08-12 03:19:22 +0000 |
commit | 5ea92dfe6a636f07dfb247509827780fe31f8075 (patch) | |
tree | 1297690db396bf2890eaf96cfffbbb3048c2eb66 /gdb/config | |
parent | a15525c16a5143284e86593e2c7ce722c6fdfe60 (diff) | |
download | gdb-5ea92dfe6a636f07dfb247509827780fe31f8075.zip gdb-5ea92dfe6a636f07dfb247509827780fe31f8075.tar.gz gdb-5ea92dfe6a636f07dfb247509827780fe31f8075.tar.bz2 |
Convert some floatformat_{to,from}_double to floatformat_{to,from}_doublest.
Diffstat (limited to 'gdb/config')
-rw-r--r-- | gdb/config/i386/tm-symmetry.h | 8 | ||||
-rw-r--r-- | gdb/config/m88k/tm-m88k.h | 8 |
2 files changed, 8 insertions, 8 deletions
diff --git a/gdb/config/i386/tm-symmetry.h b/gdb/config/i386/tm-symmetry.h index 602568d..a335ba9 100644 --- a/gdb/config/i386/tm-symmetry.h +++ b/gdb/config/i386/tm-symmetry.h @@ -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 diff --git a/gdb/config/m88k/tm-m88k.h b/gdb/config/m88k/tm-m88k.h index bb47fa0..f3afc9e 100644 --- a/gdb/config/m88k/tm-m88k.h +++ b/gdb/config/m88k/tm-m88k.h @@ -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 |