aboutsummaryrefslogtreecommitdiff
path: root/gdb/config/i960
diff options
context:
space:
mode:
authorJim Kingdon <jkingdon@engr.sgi.com>1994-02-28 06:06:05 +0000
committerJim Kingdon <jkingdon@engr.sgi.com>1994-02-28 06:06:05 +0000
commit4879254531c753527f4ae3bcf7e625fa71ca3902 (patch)
tree36769293d673d3ce5fd18acbc4b568911d05cb61 /gdb/config/i960
parentb30601cb28a62dee5579e2cffe2b2d02bd1e0a9d (diff)
downloadgdb-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/i960')
-rw-r--r--gdb/config/i960/tm-i960.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/gdb/config/i960/tm-i960.h b/gdb/config/i960/tm-i960.h
index f93b5aa..f13795e 100644
--- a/gdb/config/i960/tm-i960.h
+++ b/gdb/config/i960/tm-i960.h
@@ -166,15 +166,15 @@ extern CORE_ADDR saved_pc_after_call ();
#define REGISTER_CONVERTIBLE(N) ((N) >= FP0_REGNUM)
+#include "floatformat.h"
+
/* Convert data from raw format for register REGNUM in buffer FROM
to virtual format with type TYPE in buffer TO. */
-extern struct ext_format ext_format_i960;
-
#define REGISTER_CONVERT_TO_VIRTUAL(REGNUM,TYPE,FROM,TO) \
{ \
double val; \
- ieee_extended_to_double (&ext_format_i960, (FROM), &val); \
+ floatformat_to_double (&floatformat_i960_ext, (FROM), &val); \
store_floating ((TO), TYPE_LENGTH (TYPE), val); \
}
@@ -184,7 +184,7 @@ extern struct ext_format ext_format_i960;
#define REGISTER_CONVERT_TO_RAW(TYPE,REGNUM,FROM,TO) \
{ \
double val = extract_floating ((FROM), TYPE_LENGTH (TYPE)); \
- double_to_ieee_extended (&ext_format_i960, &val, (TO)); \
+ floatformat_from_double (&floatformat_i960_ext, &val, (TO)); \
}
/* Return the GDB type object for the "standard" data type