1.3.141 set endian

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

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 1-144 Examples

set endian little                   # Debug using little endian
Non-ConfidentialPDF file icon PDF versionARM DUI0452Z
Copyright © 2010-2016 ARM Limited or its affiliates. All rights reserved.