16.9.3. Attaching a macro to the GO command

To invoke a macro that controls the action of the GO command enter, for example:

GO \DHRY_1\#149; my_macro()

In this example, the program runs until the temporary breakpoint at line 149 in dhry_1.c is hit, which causes the macro to run. The return value from the macro determines whether the execution continues or stops.

See also

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