Store-qualify writes to the variable, and use prestore to capture the instructions that
caused those writes to occur (perhaps by prestoring program reads).
Examples
Specify a prestore qualifier:
trace prestore address not range gen_ascii_data thru
gen_ascii_data
end status prog and read only
long_aligned gen_ascii_data
Disable prestore qualification:
trace prestore anything
To trace activity leading up to a program halt
•
Choose Trace
→
Until Stop.
•
Using the command line, trace on a program halt by entering:
trace on_halt
The above commands cause the analyzer to continuously fill the trace buffer until
you issue a Trace
→
Stop or stop_trace command.
Sometimes you may have a program failure that can’t be attributed to a specific
trigger condition. For example, the emulator may access guarded memory and
break to the monitor. You want to trace the events leading up to the guarded
memory access but you don’t know what to specify for a trigger. Use the above
command. The analyzer will capture and record states until the break occurs. The
trace list will display the last processor states leading up to the break condition.
Note that the "trace until stop" command may not capture the desired information
when you are using a foreground monitor (unless the code that causes the break
also causes the processor to halt) because the analyzer will continue to capture
foreground monitor states after the break. When using a foreground monitor, you
can use the command line to enter a trace command that stores only states outside
the range of the foreground monitor program (for example, trace on_halt only not
range <mon_start_addr> thru <mon_end_addr> on_halt).
Chapter 7: Using the Emulation-Bus Analyzer
Making Complex Trace Measurements
219
Summary of Contents for 64780A
Page 1: ...Graphical User Interface User s Guide MC68360 68EN360 Emulator Analyzer HP 64780A ...
Page 20: ...xx ...
Page 21: ...Part 1 Quick Start Guide 1 ...
Page 23: ...1 Getting Started 3 ...
Page 45: ...Part 2 Using The Emulator 25 ...
Page 47: ...2 Plugging into a Target System 27 ...
Page 55: ...Chapter 2 Plugging into a Target System Plugging into the Motorola QUADS Target System 35 ...
Page 59: ...3 Starting and Exiting HP 64700 Interfaces 39 ...
Page 69: ...4 Entering Commands 49 ...
Page 103: ...5 Configuring the Emulator 83 ...
Page 122: ...102 ...
Page 123: ...6 Using the Emulator 103 ...
Page 193: ...7 Using the Emulation Bus Analyzer How to record program execution in real time 173 ...
Page 249: ...8 Making Software Performance Measurements 229 ...
Page 279: ...9 Making Coordinated Measurements 259 ...
Page 295: ...Part 3 Reference 275 ...
Page 297: ...10 Setting X Resources 277 ...
Page 312: ...292 ...
Page 313: ...11 Emulator Analyzer Interface Commands 293 ...
Page 391: ...set Chapter 11 Emulator Analyzer Interface Commands set 371 ...
Page 405: ... SYMB Chapter 11 Emulator Analyzer Interface Commands SYMB 385 ...
Page 422: ...402 ...
Page 460: ...440 ...
Page 461: ...Part 4 Concept Guide 441 ...
Page 463: ...13 Concepts of the EMSIM and EMRAM 443 ...
Page 471: ...Part 5 Installation and Service Guide 451 ...
Page 473: ...14 Installation 453 ...
Page 491: ...Chapter 14 Installation Verifying the Installation 471 ...
Page 493: ...15 Installing Updating Emulator Firmware 473 ...
Page 500: ...480 ...
Page 516: ...496 ...
Page 540: ...520 ...