diff options
author | Jim Kingdon <jkingdon@engr.sgi.com> | 1994-02-28 06:06:05 +0000 |
---|---|---|
committer | Jim Kingdon <jkingdon@engr.sgi.com> | 1994-02-28 06:06:05 +0000 |
commit | 4879254531c753527f4ae3bcf7e625fa71ca3902 (patch) | |
tree | 36769293d673d3ce5fd18acbc4b568911d05cb61 /gdb/config/m88k | |
parent | b30601cb28a62dee5579e2cffe2b2d02bd1e0a9d (diff) | |
download | gdb-4879254531c753527f4ae3bcf7e625fa71ca3902.zip gdb-4879254531c753527f4ae3bcf7e625fa71ca3902.tar.gz gdb-4879254531c753527f4ae3bcf7e625fa71ca3902.tar.bz2 |
* i387-tdep.c, i386-tdep.c i386v-nat.c, i386aix-nat.c,
i386m3-nat.c, config/m68k/tm-m68k.h, i960-tdep.c
config/i960/tm-i960.h, remote-nindy.c, config/m88k/tm-m88k.h,
m88k-tdep.c: Use floatformat.h instead of ieee-float.h.
* sparc-tdep.c: Remove now-obsolete ieee-float.h stuff
* findvar.c: Update comment regarding ieee-float.h.
Diffstat (limited to 'gdb/config/m88k')
-rw-r--r-- | gdb/config/m88k/tm-m88k.h | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/gdb/config/m88k/tm-m88k.h b/gdb/config/m88k/tm-m88k.h index 9b50dcf..0228907 100644 --- a/gdb/config/m88k/tm-m88k.h +++ b/gdb/config/m88k/tm-m88k.h @@ -18,8 +18,6 @@ You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */ -#include "ieee-float.h" - /* g++ support is not yet included. */ /* Define the bit, byte, and word ordering of the machine. */ @@ -388,7 +386,7 @@ if (!target_is_m88110) \ #define REGISTER_CONVERTIBLE(N) ((N) >= XFP_REGNUM) -extern const struct ext_format ext_format_m88110; +#include "floatformat.h" /* Convert data from raw format for register REGNUM in buffer FROM to virtual format with type TYPE in buffer TO. */ @@ -396,7 +394,7 @@ extern const struct ext_format ext_format_m88110; #define REGISTER_CONVERT_TO_VIRTUAL(REGNUM,TYPE,FROM,TO) \ { \ double val; \ - ieee_extended_to_double (&ext_format_m88110, (FROM), &val); \ + floatformat_to_double (&floatformat_m88110_ext, (FROM), &val); \ store_floating ((TO), TYPE_LENGTH (TYPE), val); \ } @@ -406,7 +404,7 @@ extern const struct ext_format ext_format_m88110; #define REGISTER_CONVERT_TO_RAW(TYPE,REGNUM,FROM,TO) \ { \ double val = extract_floating ((FROM), TYPE_LENGTH (TYPE)); \ - double_to_ieee_extended (&ext_format_m88110, &val, (TO)); \ + floatformat_from_double (&floatformat_m88110_ext, &val, (TO)); \ } /* Return the GDB type object for the "standard" data type |