set arm

This command controls the behavior of the debugger when selecting the instruction set for disassembly and setting breakpoints.

Note

Available instruction sets depend on the target that the debugger is connected to.

Show/hideSyntax

set arm option

Where:

option

Specifies additional options:

force-mode

Controls the default debugger behavior overriding the fallback-mode setting.

arm

Forces the debugger to use the ARM® instruction set.

arm64

Forces the debugger to use the AArch64 instruction set.

thumb

Forces the debugger to use the Thumb® instruction set.

auto

Forces the debugger to use debug information when available or the fallback-mode if this is not available. This is the default.

fallback-mode

Controls the default debugger behavior when force-mode is set to auto and debug information is not available.

arm

Forces the debugger to use the ARM instruction set when debug information is not available.

arm64

Forces the debugger to use the AArch64 instruction set when debug information is not available.

thumb

Forces the debugger to use the Thumb instruction set when debug information is not available.

auto

Forces the debugger to use the current instruction set of the target. This is the default.

Show/hideExample

Example 97. set arm

set arm force-mode thumb                  # Force the use of Thumb
set arm fallback-mode arm                 # When force-mode is auto, use ARM
                                          # if no debug information is available

Show/hideSee also

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