mirror of
https://github.com/bminor/binutils-gdb.git
synced 2025-12-27 09:38:57 +00:00
* infcmd.c (do_registers_info): Delete code dumping large
registers. Handled by val_print.
This commit is contained in:
12
gdb/infcmd.c
12
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
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user