mirror of
https://github.com/darlinghq/darling-gdb.git
synced 2024-11-27 14:00:30 +00:00
* infcmd.c (do_registers_info): Delete code dumping large
registers. Handled by val_print.
This commit is contained in:
parent
e414a1659e
commit
447aa9a61f
@ -1,3 +1,8 @@
|
|||||||
|
2001-10-01 Andrew Cagney <ac131313@redhat.com>
|
||||||
|
|
||||||
|
* infcmd.c (do_registers_info): Delete code dumping large
|
||||||
|
registers. Handled by val_print.
|
||||||
|
|
||||||
2001-09-30 Andrew Cagney <ac131313@redhat.com>
|
2001-09-30 Andrew Cagney <ac131313@redhat.com>
|
||||||
|
|
||||||
* gdbarch.sh (gdbarch_alloc): Name the new architecture
|
* gdbarch.sh (gdbarch_alloc): Name the new architecture
|
||||||
|
12
gdb/infcmd.c
12
gdb/infcmd.c
@ -1534,18 +1534,6 @@ do_registers_info (int regnum, int fpregs)
|
|||||||
}
|
}
|
||||||
printf_filtered (")");
|
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 print as integer in hex and in decimal. */
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user