gdb print /x always big endian order?

Andreas Schwab schwab@suse.de
Fri Feb 6 01:03:00 GMT 2004


J K <ellips@yahoo.com> writes:

>  It seems in GNU gdb Red Hat Linux (5.1-1) when
>  I do a print /x the order is Big Endian regardless
>  of the host architecture.

The print command just prints a value, and values don't have endianess.
Only memory contents have.

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