Debugger Symbols; Macro Symbols - HP B1476 68020 User Manual

Debugger/emulator
Table of Contents

Advertisement

Chapter 13: Expressions and Symbols in Debugger Commands
counterpart(_main). However, with symbols on demand, only the high-level
symbol is available (main).

Debugger Symbols

Debugger symbols can be added during a debugging session using the Symbol
Add command. The debugger treats debugger symbols as global symbols.
When you create a debugger symbol, you must assign it a name. You may
optionally assign it a type. An initial value may also be given to a debugger
symbol. If you do not specify an initial value, the initial value defaults to zero.
Debugger symbols are stored in the debugger's memory and are not associated
with the processor target memory.

Macro Symbols

You can use macros to:
Create complex user commands.
Patch your source code temporarily.
Display information in user-defined windows.
A macro is similar to a C function. It has a name, return type, optional
arguments, optional macro local symbols, and a sequence of statements.
There are two types of macro symbols:
Macro names.
Macro local symbols.
Macro Names
Macro names identify a macro. You assign macro names with the Debugger
Macro Add command.
Macro Local Symbols
Macro local symbols are local variables and parameters defined within macros.
They are declared when you create a debugger macro with the Debugger
Macro Add command. A macro local symbol can be accessed only by the
macro in which it is defined. It is created when the macro is executed. The
macro local symbol has an undefined initial value.
Symbols
531

Advertisement

Table of Contents
loading

This manual is also suitable for:

B1476 68030

Table of Contents