set endian big | Instruct GDB to assume the target is |
set endian little | Instruct GDB to assume the target is |
set endian auto | Instruct GDB to use the byte order associated with the |
| executable. |
show endian | Display GDB's current idea of the target byte order. |
Note that these commands merely adjust interpretation of symbolic data on the host, and that they have absolutely no effect on the target system.
136 Specifying a Debugging Target