11.21.1. Specifying a processor exception that runs a macro when triggered

To specify a processor exception that runs a macro when it is triggered, use the BGLOBAL command. The macro return value determines whether execution continues or stops.

Note

If no macro is specified, execution always stops when selected exception is triggered.

For example, to run the macro my_macro() when the Prefetch Abort exception is triggered on an ARM architecture-based processor connected through RealView ICE, enter:

  1. Load the macro definition.

  2. Specify the BGLOBAL command:

    bglobal,enable "prefetch abort" ; my_macro()

See also

Copyright © 2002-2009 ARM Limited. All rights reserved.ARM DUI 0153K
Non-Confidential