aboutsummaryrefslogtreecommitdiff
path: root/gdb/infcmd.c
diff options
context:
space:
mode:
authorAndrew Cagney <cagney@redhat.com>2002-01-29 03:08:28 +0000
committerAndrew Cagney <cagney@redhat.com>2002-01-29 03:08:28 +0000
commit75bc7ddf1b1e98d946b1b3c260c56d2d8ebd251e (patch)
tree103d7e29427306062e958d2497b01371f519fbb4 /gdb/infcmd.c
parent806dedcd0cd16f62daee0c726cd3be4606ad5359 (diff)
downloadgdb-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/infcmd.c')
-rw-r--r--gdb/infcmd.c9
1 files changed, 2 insertions, 7 deletions
diff --git a/gdb/infcmd.c b/gdb/infcmd.c
index 5b8d1f2..d5e18ec 100644
--- a/gdb/infcmd.c
+++ b/gdb/infcmd.c
@@ -1613,13 +1613,8 @@ do_registers_info (int regnum, int fpregs)
{
register int j;
-#ifdef INVALID_FLOAT
- if (INVALID_FLOAT (virtual_buffer, REGISTER_VIRTUAL_SIZE (i)))
- printf_filtered ("<invalid float>");
- else
-#endif
- val_print (REGISTER_VIRTUAL_TYPE (i), virtual_buffer, 0, 0,
- gdb_stdout, 0, 1, 0, Val_pretty_default);
+ val_print (REGISTER_VIRTUAL_TYPE (i), virtual_buffer, 0, 0,
+ gdb_stdout, 0, 1, 0, Val_pretty_default);
printf_filtered ("\t(raw 0x");
for (j = 0; j < REGISTER_RAW_SIZE (i); j++)