From 75bc7ddf1b1e98d946b1b3c260c56d2d8ebd251e Mon Sep 17 00:00:00 2001 From: Andrew Cagney Date: Tue, 29 Jan 2002 03:08:28 +0000 Subject: * config/vax/tm-vax.h (INVALID_FLOAT): Move macro from here... * vax-tdep.c (INVALID_FLOAT): To here. Document why it is broken. * rs6000-tdep.c (rs6000_do_registers_info): Delete code wrapped in #ifdef INVALID_FLOAT. * infcmd.c (do_registers_info): Ditto. * values.c (unpack_double): Ditto. Add comment. * config/ns32k/tm-umax.h (INVALID_FLOAT): Delete macro that was already commented out. --- gdb/config/ns32k/tm-umax.h | 15 --------------- 1 file changed, 15 deletions(-) (limited to 'gdb/config/ns32k') diff --git a/gdb/config/ns32k/tm-umax.h b/gdb/config/ns32k/tm-umax.h index 9f1fb31..c09f535 100644 --- a/gdb/config/ns32k/tm-umax.h +++ b/gdb/config/ns32k/tm-umax.h @@ -68,21 +68,6 @@ extern CORE_ADDR umax_skip_prologue (CORE_ADDR); #define DECR_PC_AFTER_BREAK 0 -#if 0 /* Disable until fixed *correctly*. */ -#ifndef INVALID_FLOAT -#ifndef NaN -#include -#endif /* NaN */ - -/* Return 1 if P points to an invalid floating point value. */ -/* Surely wrong for cross-debugging. */ -#define INVALID_FLOAT(p, s) \ - ((s == sizeof (float))? \ - NaF (*(float *) p) : \ - NaD (*(double *) p)) -#endif /* INVALID_FLOAT */ -#endif - /* Say how long (ordinary) registers are. This is a piece of bogosity used in push_word and a few other places; REGISTER_RAW_SIZE is the real way to know how big a register is. */ -- cgit v1.1