regression with huge integer

Andreas Schwab schwab@suse.de
Mon Feb 23 20:44:00 GMT 2004


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. :-)

Andreas.

-- 
Andreas Schwab, SuSE Labs, schwab@suse.de
SuSE Linux AG, Maxfeldstraße 5, 90409 Nürnberg, Germany
Key fingerprint = 58CA 54C7 6D53 942B 1756  01D3 44D5 214B 8276 4ED5
"And now for something completely different."



More information about the Gdb mailing list