16.2.2. Creating a macro in a text file directly

You can create one or more macros in a text file directly. Each macro definition must be terminated by a period (.), for example:

define /R return_type macro_1()
{
    // Code for macro_1
    ...
    return value; //optional statement
}
.
define /R return_type macro_2()
{
    // Code for macro_2
    ...
    return value; //optional statement
}
.

Note

A user-defined macro must not have the same name as a predefined RealView Debugger macro.

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