To Prestore States Before Qualified Store States - HP 64746 User Manual

Emulation/analysis
Table of Contents

Advertisement

To prestore states before qualified store states

• Enter a storage state specification in the entry buffer; then, choose Trace→Only ()
Prestore.
• Use the prestore option in the trace command.
Prestore allows you to save up to two states which precede a normal store state.
Prestore is turned off by default. However, you can use the trace command's
prestore option to specify a prestore qualifier.
Prestore is useful when you want to find the cause of a particular state. For
example, if a variable is accessed from many different places in the program, you
can qualify the trace so that only accesses of that variable are stored. Then, you can
turn on prestore to find out where accesses of that variable originate from.
States which satisfy the prestore qualifier and the storage qualifier at the same time
are stored as normal states.
Examples
To storing only write accesses to the variable "target_temp" and prestore the two
previous states:
trace after main."main.c": line 101
only target_temp status write
prestore anything <RETURN>
Chapter 7: Using the Emulation Analyzer
Qualifying Trigger and Store Conditions
261

Advertisement

Table of Contents
loading

This manual is also suitable for:

68302

Table of Contents