Chapter 10: Expressions and Symbols in Debugger Commands
Reserved symbols are reserved words that represent processor registers, status
bits, and debugger control variables. These symbols are always recognized by
the debugger. You can use reserved symbols any time during a debugging
session. Reserved symbols have special meanings within the debugger
command language. They cannot be defined and used for other purposes. To
avoid conflict with other symbols, the names of all reserved symbols begin with
the "@" character.
The debugger can generate a list of all reserved symbols (see page 143). In
addition, many of the reserved symbols are listed in the "Registers" chapter.
Line numbers can be used to refer to lines of code in your original source
program. The compiler generates line numbers by default.
Line number references must be preceded by a pound sign (# ). For example:
Program Run Until #82
When you refer to a source line number, the debugger translates it to the
address of the first instruction generated by the compiler for that C statement.
If a C source line did not generate executable code, a reference to that line
number actually refers to the next line that did generate executable code.
To reference a line number that is in a module other than the current one,
precede the line number with a module name. For example:
Breakpt Instr updateSys\#332
If supported by your compiler, you can debug multiple statements on one line.
A dot qualifier (.) identifies the sequence of a statement on the source line. A
colon qualifier (:) identifies a column number within the source line.
Hewlett-Packard cross assemblers do not support multi-statement debugging.