You copied the Doc URL to your clipboard.

set endian

This command specifies the byte order for use by the debugger.

Syntax

set endian { auto | be8 | big | little}

Where:

auto

Uses the same byte order as the image where possible, otherwise it uses the current endianness of the target. This is the default.

be8

Specifies Byte Invariant Addressing big-endian mode introduced in architecture ARMv6 (data is big endian and code is little endian).

big

Specifies big endian mode.

little

Specifies little endian mode.

Example

set endian little                   # Debug using little endian

See also