diff options
author | Andrew Cagney <cagney@redhat.com> | 2002-01-29 03:08:28 +0000 |
---|---|---|
committer | Andrew Cagney <cagney@redhat.com> | 2002-01-29 03:08:28 +0000 |
commit | 75bc7ddf1b1e98d946b1b3c260c56d2d8ebd251e (patch) | |
tree | 103d7e29427306062e958d2497b01371f519fbb4 /gdb/config | |
parent | 806dedcd0cd16f62daee0c726cd3be4606ad5359 (diff) | |
download | gdb-75bc7ddf1b1e98d946b1b3c260c56d2d8ebd251e.zip gdb-75bc7ddf1b1e98d946b1b3c260c56d2d8ebd251e.tar.gz gdb-75bc7ddf1b1e98d946b1b3c260c56d2d8ebd251e.tar.bz2 |
* 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.
Diffstat (limited to 'gdb/config')
-rw-r--r-- | gdb/config/ns32k/tm-umax.h | 15 | ||||
-rw-r--r-- | gdb/config/vax/tm-vax.h | 5 |
2 files changed, 0 insertions, 20 deletions
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 <nan.h> -#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. */ diff --git a/gdb/config/vax/tm-vax.h b/gdb/config/vax/tm-vax.h index 65f8d70..0fe507f 100644 --- a/gdb/config/vax/tm-vax.h +++ b/gdb/config/vax/tm-vax.h @@ -65,11 +65,6 @@ extern CORE_ADDR vax_skip_prologue (CORE_ADDR); #define DECR_PC_AFTER_BREAK 0 -/* Return 1 if P points to an invalid floating point value. - LEN is the length in bytes -- not relevant on the Vax. */ - -#define INVALID_FLOAT(p, len) ((*(short *) p & 0xff80) == 0x8000) - /* 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. */ |