set endian

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

Show/hideSyntax

set endian { auto | be8 | big | little}

Where:

auto

Uses the same byte order as the target. This is the default.

be8

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

big

Specifies big endian mode.

little

Specifies little endian mode.

Show/hideExample

Example 98. set endian

set endian auto                      # Debug using the endianness of image
set endian little                    # Debug using little endian

Show/hideSee also

Copyright © 2010, 2011 ARM. All rights reserved.ARM DUI 0452D
Non-ConfidentialID011411