4.5.4. Using the HW Break on Data Value match dialog box

The HW Break on Data Value match dialog box enables you to specify the range of data values to test for the breakpoint. For example the low value, and the high value, or you can use a mask. The breakpoint triggers if the PC falls within the specified range. A single breakpoint instance is created with this dialog box.

Displaying the HW Break on Data Value match dialog box

To display the HW Break on Data Value match dialog box, shown in Figure 4.9, use one of the following methods:

  • Select the following option from the Code window main menu:

    Debug ? Breakpoints ? Hardware ? HW Break on Data Value match...

  • Using the Break/Tracepoints pane, either:

    • select Set BreakIf... from the Pane menu

    • right-click on the pane background, and select Set BreakIf... from the context menu.

    Then select HW Break on Data Value match... from the List Selection dialog box, and click OK.

Figure 4.9. HW Break on Data Value match dialog box

HW Break on Data Value match dialog box

HW Break on Data Value match dialog box interface components

The HW Break on Data Value match dialog box (see Figure 4.9) contains the following fields:

Data value to match

Choose the type of hardware breakpoint that you want to set for the match. This can be one of the following:

  • Enter Data Value Access to Match

  • Enter Data Value Read to Match

  • Enter Data Value Write to Match.

Enter the data value to test against in the data field.

Data value modifier

Choose a data value modifier, if your hardware supports it. This can be one of the following:

Enter None (no range)

Test against the first data value only. This is the default.

Enter End Value

Test for values in the range from the first data value and the second data value specified, inclusive.

Enter Value Length

Test for values in the range from the first data value and the first data value plus the length specified, inclusive. For example, if the first data value is 0x10, and the length is 0xF, then the range is from 0x10 to 0x1F, inclusive.

Enter Value Mask

Specify a value mask if you are interested only in certain bits of the value. For example, if you have a data field occupying five bits (0x1F), then set a mask of 0x5 if only bits 0 and 2 are of interest.

You can enter values directly in these fields, or click the drop-down arrow to the right of these fields to choose from a list browser (see List browser dialog boxes), select from your personal Favorites List (see Favorites categories used by RealView Debugger features), or select from a list of previously-used expressions.

Copyright © 2002-2005 ARM Limited. All rights reserved.ARM DUI 0153G
Non-Confidential