To Trace Data Written To A Variable And Who Wrote To The Variable - HP B1476 68020 User Manual

Debugger/emulator
Table of Contents

Advertisement

Chapter 6: Making Trace Measurements

To trace data written to a variable and who wrote to the variable

3 Start program execution.
4 Complete the trace.
The the TRC status on the status line will change to TRC:Trgrd to indicate
that the first write has taken place.
You may do one of two things to complete the trace:
Trace Halt
5 Display the trace information.
To trace data written to a variable and who wrote
to the variable
1 Define trace event 1 to be a write access to the range of addresses
corresponding to the variable.
Trace Event Specify 1 <Tab> Address Is
& variable ..+sizeof( variable )-1 <Tab> Status Is Write
2 Assign the variable as the trigger and storage qualification terms.
Trace Trigger Event 1
Trace StoreQual Event 1 <Tab> Prestore
Note that we added the Prestore keyword to the Trace StoreQual
command. The Prestore keyword in the storage qualification definition will
cause the trace function to capture the last two fetch cycles before the write to
current_humid , enabling you to see which routine is writing to the variable.
200
To see a full buffer of writes, wait until the status changes to TRC:Cmplt.
To see the trace without waiting, press < Ctrl> -C to return to command
mode, then halt the trace by entering:

Advertisement

Table of Contents
loading

This manual is also suitable for:

B1476 68030

Table of Contents