Debugger Macro Add - HP 68000 Series User Manual

Debugger/simulator
Table of Contents

Advertisement

Chapter 9: Debugger Commands

Debugger Macro Add

Debugger Macro Add

The Debugger Macro Add command defines a macro.
The name of the macro is specified by <macro_name> . The result type of the
macro is specified by <type> . If a type is not specified, it defaults to type int.
A parenthesized list of parameters (<param_list>) may optionally follow
the macro name. Parameter names must be composed of alphanumeric
characters. A maximum of 40 parameters is allowed.
When you enter the Debugger Macro Add command, the Journal window is
automatically enlarged, and the debugger displays the macro text prompt
character (> ) indicating that you can enter the macro body.
Note
If the stdio screen or a user-defined screen is active when the Debugger Macro
Add command is issued, the Journal window will not become active. Keyboard
input at this point will be interpreted by the debugger as the macro definition.
To terminate the macro definition, a period (.) must be entered as the first and
only character on a line.
The macro definition consists of all lines entered after the macro name and
before the terminating period. The macro definition consists of the source
lines of the macro (the macro body) and optional formal arguments. The
syntax for the macro body is:
{macro_statement; [macro_statement;]...}
288

Advertisement

Table of Contents
loading

This manual is also suitable for:

B1466

Table of Contents