12.9.2. Attaching a macro as a command argument

To attach a macro as an argument to a breakpoint, you must use the appropriate CLI command. For example, to attach the macro test_loop(5,10) to a software breakpoint at line 149 in dhry_1.c of the Dhrystone project, enter the command:

BREAKINSTRUCTION DHRY_1\#149:1 ; test_loop(5,10)

This sets a conditional breakpoint, which is identified by a yellow disc.

See also

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