From 7c86bda2a1c39005936dd5124e62c96f842e70b9 Mon Sep 17 00:00:00 2001 From: Jim Kingdon Date: Sat, 12 Jun 1993 22:12:45 +0000 Subject: [PATCH] * mips-tdep.c: Remove isa_NAN; it assumed sizeof(host int) == 4 and probably contained byte-order sins too. config/mips/tm-mips.h (INVALID_FLOAT): Define to 0 like most machines. The IEEE_FLOAT code in print_floating takes care of it. --- gdb/config/mips/tm-mips.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gdb/config/mips/tm-mips.h b/gdb/config/mips/tm-mips.h index d167a57ece8..4a9d375fa1e 100644 --- a/gdb/config/mips/tm-mips.h +++ b/gdb/config/mips/tm-mips.h @@ -80,9 +80,9 @@ extern int mips_fpu; #define ABOUT_TO_RETURN(pc) (read_memory_integer (pc, 4) == 0x3e00008) -/* Return 1 if P points to an invalid floating point value. */ +/* This is taken care of in print_floating [IEEE_FLOAT]. */ -#define INVALID_FLOAT(p,l) isa_NAN(p,l) +#define INVALID_FLOAT(p,l) 0 /* Say how long (all) registers are. */ -- 2.30.2