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/vax/tm-vax.h | 5 ----- 1 file changed, 5 deletions(-) (limited to 'gdb/config/vax') 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. */ -- cgit v1.1