set endian

This command specifies the byte order for use by the debugger. The endianness of the target is not modified by this command.

Show/hideSyntax

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.

Show/hideExample

Example 103. set endian

set endian little                   # Debug using little endian

Show/hideSee also

Copyright © 2010-2012 ARM. All rights reserved.ARM DUI 0452K
Non-ConfidentialID071912