From: Jim Kingdon Date: Sat, 12 Jun 1993 22:12:45 +0000 (+0000) Subject: * mips-tdep.c: Remove isa_NAN; it assumed sizeof(host int) == 4 and X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=7c86bda2a1c39005936dd5124e62c96f842e70b9;p=binutils-gdb.git * 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. --- 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. */