aboutsummaryrefslogtreecommitdiff
path: root/gdb/config
diff options
context:
space:
mode:
authorJim Kingdon <jkingdon@engr.sgi.com>1993-06-12 22:12:45 +0000
committerJim Kingdon <jkingdon@engr.sgi.com>1993-06-12 22:12:45 +0000
commit7c86bda2a1c39005936dd5124e62c96f842e70b9 (patch)
treeaa1483df01efd31bc5f94d6a72ead755c7726eb8 /gdb/config
parentdd9d4fa31ceee2a740b8c2ac10c86b3fa8842095 (diff)
downloadgdb-7c86bda2a1c39005936dd5124e62c96f842e70b9.zip
gdb-7c86bda2a1c39005936dd5124e62c96f842e70b9.tar.gz
gdb-7c86bda2a1c39005936dd5124e62c96f842e70b9.tar.bz2
* 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.
Diffstat (limited to 'gdb/config')
-rw-r--r--gdb/config/mips/tm-mips.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/gdb/config/mips/tm-mips.h b/gdb/config/mips/tm-mips.h
index d167a57..4a9d375 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. */