1.3.156 set trust-ro-sections-for-opcodes

Controls whether the debugger can read opcodes from read-only sections of images on the host workstation rather than from the target itself.

Syntax

set trust-ro-sections-for-opcodes {off|on}

Where:

off

Disables this behavior. Use this option to trace self-modifying code or when the code on the target is modified before being loaded to the target.

Note:

The Linux kernel often contains self-modifying code.
on

Enables reading opcodes from read-only sections of images on the host machine. Reading opcodes from the host workstation is usually faster than reading them from the target. This is the default.

Example 1-159 Examples

set trust-ro-sections-for-opcodes on      # Enable reading opcodes from host
Non-ConfidentialPDF file icon PDF versionARM DUI0452Z
Copyright © 2010-2016 ARM Limited or its affiliates. All rights reserved.