To Specify Trigger Conditions - HP B1476 68020 User Manual

Debugger/emulator
Table of Contents

Advertisement

Chapter 6: Making Trace Measurements

To specify trigger conditions

To specify trigger conditions
• Using the command line, enter:
Trace Trigger Event <event_nmbr>
Enter the number of the event previously defined with the Trace Event Specify
command, and press the < Return> key.
You can specify a single event, an OR'ed combination of events, a specified
number of occurrences of a single event or an OR'ed combination of events,
or a sequence of events (maximum of seven) in the trace trigger specification.
If you specify a sequence of more than seven events, the debugger will respond
with an error message indicating that the specification is too complex.
You can define the trigger event in the Trace Trigger command rather than
using an event defined previously with the Trace Event Specify command.
When you define the qualifying event in the Trace Trigger command, you can
specify only a single event. You cannot use an OR'ed combination of events, a
sequence of events, or multiple occurrences of an event as the trigger
condition.
Examples
Trigger on a single event. To trigger on the occurrence of a call to function
update_state_of_system :
Trace Event Specify 1 <Tab> Address Is
update_state_of_system
Trace Trigger Event 1
Trigger on a sequence of events. To trigger on a call to function
update_state_of_system followed by a write access to variable
current_humid :
Trace Event Specify 1 <Tab> Address Is
update_state_of_system
Trace Event Specify 3 <Tab> Address Is
&current_humid <Tab> Status Is Write
196

Advertisement

Table of Contents
loading

This manual is also suitable for:

B1476 68030

Table of Contents