From 4879254531c753527f4ae3bcf7e625fa71ca3902 Mon Sep 17 00:00:00 2001 From: Jim Kingdon Date: Mon, 28 Feb 1994 06:06:05 +0000 Subject: * 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. --- gdb/config/m88k/tm-m88k.h | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) (limited to 'gdb/config/m88k') 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 -- cgit v1.1