aboutsummaryrefslogtreecommitdiff
path: root/gdb/config/m88k/tm-m88k.h
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/config/m88k/tm-m88k.h')
-rw-r--r--gdb/config/m88k/tm-m88k.h8
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