diff options
author | Andrew Cagney <cagney@redhat.com> | 2001-10-01 18:11:19 +0000 |
---|---|---|
committer | Andrew Cagney <cagney@redhat.com> | 2001-10-01 18:11:19 +0000 |
commit | 447aa9a61fab980682523e7c6e08f1c255e38ee0 (patch) | |
tree | 270ccaecab53645f50f49aa6d33fe3eff0ac2708 /gdb/infcmd.c | |
parent | e414a1659e1aef462d8395eb2b6b56b768c2039c (diff) | |
download | gdb-447aa9a61fab980682523e7c6e08f1c255e38ee0.zip gdb-447aa9a61fab980682523e7c6e08f1c255e38ee0.tar.gz gdb-447aa9a61fab980682523e7c6e08f1c255e38ee0.tar.bz2 |
* infcmd.c (do_registers_info): Delete code dumping large
registers. Handled by val_print.
Diffstat (limited to 'gdb/infcmd.c')
-rw-r--r-- | gdb/infcmd.c | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/gdb/infcmd.c b/gdb/infcmd.c index 5229fe1..51883f9 100644 --- a/gdb/infcmd.c +++ b/gdb/infcmd.c @@ -1534,18 +1534,6 @@ do_registers_info (int regnum, int fpregs) } printf_filtered (")"); } - -/* FIXME! val_print probably can handle all of these cases now... */ - - /* Else if virtual format is too long for printf, - print in hex a byte at a time. */ - else if (REGISTER_VIRTUAL_SIZE (i) > (int) sizeof (long)) - { - register int j; - printf_filtered ("0x"); - for (j = 0; j < REGISTER_VIRTUAL_SIZE (i); j++) - printf_filtered ("%02x", (unsigned char) virtual_buffer[j]); - } /* Else print as integer in hex and in decimal. */ else { |