| |||
| Home > Setting Conditional Tracepoints > Common parameters for setting conditional tracepoints > Entering data value comparisons | |||
You can enter values to compare against. This adds the hw_dvalue: command
qualifier.
The options available depend on your target.
Enter a value in the following ways:
Click the drop-down arrow
to
display the data value menu. You can choose from:
a Function List dialog box, which provides a list of the functions in your image
a Variable List dialog box, which provides a list of the variables in your image
a Module/File List dialog box, which provides a list of the modules in your image
a Register List dialog box, which provides a list of the memory mapped registers defined in any BCD files assigned to the connection for the target
a Favorites/Chooser Editor dialog box, which provides a list of any addresses you have added to your personal Favorites List
a list of previously-used expressions.
The options shown here depend on your debug target and connection.
Type the required value into the text box. Click
the right arrow
to
get help with the syntax of the entry if required. The following
options are available:
The value mask enables you to specify individual bits to test when comparing values. Testing is performed on the following basis:
a binary zero in the filter indicates that the bit is not tested
a binary one in the filter indicates that the corresponding bit of the transfer is compared with the corresponding bit of the Data value.
When you select this option, RealView Debugger inserts $MASK$=0xFFFFFFFF into
the text box. Enter the value you want to compare against, and edit
the mask to the required value.
This adds the hw_dmask: command
qualifier.mask
When you select this option, RealView Debugger inserts $NOT$ into the
text box. If the text box already contains a value, $NOT$ is
inserted before it. Otherwise, enter the value after $NOT$,
for example:
$NOT$0x1000
This adds the hw_not:data command qualifier.
the following in the RealView Debugger Command Line Reference Guide:
Alphabetical command reference for details of the trace commands.