11.21.2. Converting existing individual hardware breakpoints to chained breakpoints

To create chained breakpoints based on existing hardware breakpoints:

  1. Open the Break/Tracepoints view.

  2. Expand the breakpoint instances to determine the CLI command that was used to create 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 text file

    • 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 chained breakpoints.

  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 the chained breakpoints as follows:

    1. For the first breakpoint in the chain, include the hw_and:next or hw_and:"then-next" command qualifiers.

    2. For each subsequent breakpoint in the chain, include the hw_and:prev or hw_and:"then-prev" command qualifiers.

      Alternatively, use the hw_and:id or hw_and:"then-id" command qualifiers.

See also

Copyright © 2002-2011 ARM. All rights reserved.ARM DUI 0153N
Non-ConfidentialID052111