From 447aa9a61fab980682523e7c6e08f1c255e38ee0 Mon Sep 17 00:00:00 2001 From: Andrew Cagney Date: Mon, 1 Oct 2001 18:11:19 +0000 Subject: [PATCH] * infcmd.c (do_registers_info): Delete code dumping large registers. Handled by val_print. --- gdb/ChangeLog | 5 +++++ gdb/infcmd.c | 12 ------------ 2 files changed, 5 insertions(+), 12 deletions(-) diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 69540c0a9db..55b35654920 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,8 @@ +2001-10-01 Andrew Cagney + + * infcmd.c (do_registers_info): Delete code dumping large + registers. Handled by val_print. + 2001-09-30 Andrew Cagney * gdbarch.sh (gdbarch_alloc): Name the new architecture diff --git a/gdb/infcmd.c b/gdb/infcmd.c index 5229fe1d514..51883f99092 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 { -- 2.30.2