This is the mail archive of the
gdb@sources.redhat.com
mailing list for the GDB project.
Re: gdb print /x always big endian order?
- From: Andreas Schwab <schwab at suse dot de>
- To: J K <ellips at yahoo dot com>
- Cc: gdb at sources dot redhat dot com
- Date: Fri, 06 Feb 2004 02:03:34 +0100
- Subject: Re: gdb print /x always big endian order?
- References: <20040205180043.68640.qmail@web13509.mail.yahoo.com>
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."