3.3 Target

class iris.debug.Target.Target(instInfo, model)

Wraps an Iris object, providing a simplified interface to common tasks.

You can access memory, registers, and breakpoints using methods provided by this object, for example:

cpu.read_memory(0x1234, count=8)
cpu.write_register("Core.R5", 1000)
cpu.add_bpt_mem(0x1234, memory_space="Secure", on_read=False)
cpu.add_bpt_reg("Core.CPSR")

The breakpoint-related methods return Breakpoint objects, which allow you to enable, disable, and delete the breakpoint. You can access the breakpoints that are currently set by using the dictionary Target.breakpoints, which maps from breakpoint numbers to Breakpoint objects.

This section contains the following subsections:
Non-ConfidentialPDF file icon PDF version101421_0100_00_en
Copyright © 2018 Arm Limited or its affiliates. All rights reserved.