HP 3000 Manuals

Special Variables [ Symbolic Debugger/iX User's Guide ] MPE/iX 5.0 Documentation


Symbolic Debugger/iX User's Guide

Special Variables 

          Table F-1.  Special Variables 

---------------------------------------------------------------------------------------------
|                                |                                                          |
|            Variable            |                       Description                        |
|                                |                                                          |
---------------------------------------------------------------------------------------------
|                                |                                                          |
| $var                           | Represents user-defined variables.  They are of type     |
|                                | long integer and do not take on the type of any          |
|                                | expressions assigned to them.                            |
|                                |                                                          |
---------------------------------------------------------------------------------------------
|                                |                                                          |
| Hardware Registers             | Represents the names of the registers, the program       |
|                                | counter and stack, data, argument and return-value       |
|                                | pointers.                                                |
|                                |                                                          |
| $r0...$r31                     | General Registers                                        |
|                                |                                                          |
| $f0...$f15                     | Floating Point Registers                                 |
|                                |                                                          |
| $pc                            | Program Counter                                          |
|                                |                                                          |
| $sp                            | Stack Pointer                                            |
|                                |                                                          |
| $dp                            | Data Pointer                                             |
|                                |                                                          |
| $arg0...$arg3                  | Argument Registers                                       |
|                                |                                                          |
| $ret0...$ret1                  | Return-value Registers                                   |
|                                |                                                          |
---------------------------------------------------------------------------------------------
|                                |                                                          |
| $result                        | References the return value from the last command line   |
|                                | procedure call.  $short and $long are used as other ways |
|                                | of viewing $result.  Where possible, $result takes on    |
|                                | the type of the procedure.                               |
|                                |                                                          |
---------------------------------------------------------------------------------------------
|                                |                                                          |
| $lang                          | Allows you to view and modify the current source         |
|                                | language flag for expression evaluations.  Valid values  |
|                                | for $lang are C, FORTRAN, Pascal, COBOL, and default.    |
|                                | When $lang is set to "default", any language expression  |
|                                | syntax is always the same as the source language of the  |
|                                | procedure currently being viewed.                        |
|                                |                                                          |
---------------------------------------------------------------------------------------------

          Table F-1.  Special Variables (cont.) 

---------------------------------------------------------------------------------------------
|                                |                                                          |
|            Variable            |                       Description                        |
|                                |                                                          |
---------------------------------------------------------------------------------------------
|                                |                                                          |
| $line                          | Displays the current source line number (the next        |
|                                | statement to be executed).  It is automatically set by a |
|                                | number of different commands.                            |
|                                |                                                          |
---------------------------------------------------------------------------------------------
|                                |                                                          |
| $malloc                        | Allows you to see the amount of memory (in bytes)        |
|                                | currently allocated by the debugger for its own use.     |
|                                | This does not reflect memory use of the program being    |
|                                | debugged.                                                |
|                                |                                                          |
---------------------------------------------------------------------------------------------
|                                |                                                          |
| $step                          | Allows you to see and change the number of machine       |
|                                | instructions the debugger steps through while in a       |
|                                | non-debuggable procedure, before setting an uplevel      |
|                                | breakpoint and free-running to it.  This situation       |
|                                | occurs only when the program is executing in single-step |
|                                | or assertion mode.                                       |
|                                |                                                          |
---------------------------------------------------------------------------------------------



MPE/iX 5.0 Documentation