regression with huge integer

Mark Kettenis kettenis@chello.nl
Mon Feb 23 21:27:00 GMT 2004


   From: Andreas Schwab <schwab@suse.de>
   Date: Mon, 23 Feb 2004 21:42:25 +0100

   mec.gnu@mindspring.com (Michael Elizabeth Chastain) writes:

   > But with the recent simplification to print_scalar_formatted, gdb
   > HEAD says:
   >
   >   (gdb) print int256var
   >   $1 = 0x0000002a0000002b0000002c0000002d0000002d0000002c0000002b0000002a
   >   (gdb) print /x int256var
   >   $2 = That operation is not available on integers of more than 8 bytes.

   That looks like gdb is contradicting itself.  It can print in hex, but
   then asked to print in hex it cannot. :-)

So this test uncovers a genuine bug.  Therefore, we shouldn't adjust
the testsuite.

Mark



More information about the Gdb mailing list