From c16ac28fb34a5d5542a07751a82066b507dec0e7 Mon Sep 17 00:00:00 2001 From: Andrew Cagney Date: Sun, 26 Aug 2001 18:46:10 +0000 Subject: [PATCH] * doublest.h (HOST_FLOAT_FORMAT): Delete macro. (HOST_DOUBLE_FORMAT): Delete macro. --- gdb/ChangeLog | 5 +++++ gdb/doublest.h | 16 ---------------- 2 files changed, 5 insertions(+), 16 deletions(-) diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 8c69596a807..8405295de15 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,8 @@ +2001-08-21 Andrew Cagney + + * doublest.h (HOST_FLOAT_FORMAT): Delete macro. + (HOST_DOUBLE_FORMAT): Delete macro. + 2001-08-24 Mark Kettenis * config/xm-lynx.h, config/xm-nbsd.h, config/xm-sysv4.h, diff --git a/gdb/doublest.h b/gdb/doublest.h index 2380f160e92..9ccdc6ca5bf 100644 --- a/gdb/doublest.h +++ b/gdb/doublest.h @@ -37,22 +37,6 @@ extern const struct floatformat floatformat_unknown; -#if HOST_BYTE_ORDER == BIG_ENDIAN -#ifndef HOST_FLOAT_FORMAT -#define HOST_FLOAT_FORMAT &floatformat_ieee_single_big -#endif -#ifndef HOST_DOUBLE_FORMAT -#define HOST_DOUBLE_FORMAT &floatformat_ieee_double_big -#endif -#else /* LITTLE_ENDIAN */ -#ifndef HOST_FLOAT_FORMAT -#define HOST_FLOAT_FORMAT &floatformat_ieee_single_little -#endif -#ifndef HOST_DOUBLE_FORMAT -#define HOST_DOUBLE_FORMAT &floatformat_ieee_double_little -#endif -#endif - /* Use `long double' if the host compiler supports it. (Note that this is not necessarily any longer than `double'. On SunOS/gcc, it's the same as double.) This is necessary because GDB internally converts all floating -- 2.30.2