]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commitdiff
* infcmd.c (do_registers_info): Delete code dumping large
authorAndrew Cagney <cagney@redhat.com>
Mon, 1 Oct 2001 18:11:19 +0000 (18:11 +0000)
committerAndrew Cagney <cagney@redhat.com>
Mon, 1 Oct 2001 18:11:19 +0000 (18:11 +0000)
registers.  Handled by val_print.

gdb/ChangeLog
gdb/infcmd.c

index 69540c0a9dbe14756a890dcd815383d895ec14bc..55b3565492035bb2292f28b22f5b4a6df0f1a6ab 100644 (file)
@@ -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>
 
        * gdbarch.sh (gdbarch_alloc): Name the new architecture
index 5229fe1d5146c350073c31768be40e08f0222e59..51883f9909255af00d430e1652dd19ac0a4846a5 100644 (file)
@@ -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
        {