ARM Technical Support Knowledge Articles

How do I set explicit ARM or Thumb Instruction breakpoints in RVD?

Applies to: RealView Development Suite (RVDS)

Answer

When symbolic debug information is available (eg: when an .axf image is loaded) RVD will automatically set the size of instruction breakpoints (32bit ARM or 16bit/32bit Thumb) as appropriate for different areas of your code.

However, if you are working without debug symbols you may have to manually specify the size of the instruction breakpoint required. The procedure for specifying breakpoint sizes are slightly different for HW and SW breakpoints. Please see the instructions below.

Hardware Breakpoint:

Open the "Create Breakpoint" pane (Debug->Breakpoints->Create Breakpoint…).

Select "Hardware Instruction" in the Breakpoint Type box and click on the "More" button to expand the advanced options. Edit the "Match=AccessSize:Default" in the Hardware Support box and specify the desired breakpoint size.

You can now specify the address and apply the breakpoint. The same procedure can be used for other HW watchpoint types like Hardware Access.

Software Breakpoint:

Open the "Create Breakpoint" pane (Debug->Breakpoints->Create Breakpoint…).

Specify the desired breakpoint size using the "Force Breakpoint Size" field.

You can now specify the address and apply the breakpoint.

Article last edited on: 2011-08-16 17:15:31

Rate this article

[Bad]
|
|
[Good]
Disagree? Move your mouse over the bar and click

Did you find this article helpful? Yes No

How can we improve this article?

Link to this article
Copyright © 2011 ARM Limited. All rights reserved. External (Open), Non-Confidential