13.07.2015 Views

RealView Debugger User Guide - ARM Information Center

RealView Debugger User Guide - ARM Information Center

RealView Debugger User Guide - ARM Information Center

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Working with Breakpoints— Converting existing individual breakpoints to chained breakpoints.Chaining breakpoints with command qualifiersYou use the hw_and command qualifier to create chained breakpoints. For the firstbreakpoint in the chain, include the hw_and:next or hw_and:”then-next” commandqualifiers. For each subsequent breakpoint in the chain, include the hw_and:”then-prev”or hw_and:prev command qualifiers.For more details on the break commands, see the <strong>RealView</strong> <strong>Debugger</strong> v1.8 CommandLine Reference <strong>Guide</strong>.Converting existing individual breakpoints to chained breakpointsIf you have created individual breakpoints, and you want to chain them together, youmust use CLI commands to create new breakpoints based on the existing breakpoints.You must create new breakpoints because you cannot use the modify qualifier with thehw_and qualifier. However, you can modify a chained breakpoint with any other qualifierand also change the address expression.To create chained breakpoints based on existing breakpoints:1. Display the Break/Tracepoints pane.2. Expand the breakpoint instances to determine the CLI command that was used tocreate each breakpoint.3. Make a note of the commands used to create each breakpoint. Alternatively:• copy the commands from the output in the Cmd tab, and save them in a textfile• copy the commands from the log or journal file, if you have one.4. Clear the original breakpoints that you are using to create the chainedbreakpoints.5. Determine the order in which the breakpoints are to be chained.6. For each breakpoint command you enter, include the hw_and qualifier to set up thechained breakpoints as follows:a. For the first breakpoint in the chain, include the hw_and:next orhw_and:”then-next” command qualifiers.b. For each subsequent breakpoint in the chain, include the hw_and:prev orhw_and:”then-prev” command qualifiers.<strong>ARM</strong> DUI 0153G Copyright © 2002-2005 <strong>ARM</strong> Limited. All rights reserved. 4-31

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!