ARMulator Basics
ARM DUI0058D Copyright © 1999-2001 ARM Limited. All rights reserved. 2-5
2.3 Tracer
You can use Tracer to trace instructions, memory accesses, and events. The
configuration file
peripherals.ami
controls what is traced (see ARMulator
configuration files on page 4-63).
This section contains the following subsections:
• Debugger support for tracing
• Interpreting trace file output on page 2-6
• Configuring Tracer on page 2-10.
2.3.1 Debugger support for tracing
There is no direct debugger support for tracing. Instead, Tracer uses bit 4 of the RDI
logging level (
$rdi_log
) variable to enable or disable tracing.
Using AXD
Select System Views → Debugger Internals → Internal Variables, and then
double-click on the
$rdi_log
value to edit it:
• to enable tracing, set
$rdi_log
to
0x00000010
• to disable tracing, set
$rdi_log
to
0x00000000
.
Using armsd
Enter the following at the command prompt:
• to enable tracing under armsd, type
$rdi_log=16
• to disable tracing, type
$rdi_log=0
.
Comments to this Manuals