Debug Manual

Table Of Contents
Debug Commands
Debug Manual421921-003
4-36
Display Register Contents
Display Register Contents
The D command can display registers. The display-register form of this command is:
register
represents the contents of one of the processor registers for the process. For more
information, see Register Syntax on page 3-7.
If you omit register, Debug displays the current values of the TNS/R registers
when in native mode, and the TNS environment registers when in TNS or
accelerated mode. In addition, Debug displays the space identifier of the current
code segment.
These notes apply to TNS environment registers:
This note applies to TNS/R registers:
[OUT] output-dev
specifies where the display is directed. Debug output can be directed to an output
device, a process, or a spooler collector. Debug output cannot be directed to a disk
file. If you omit output-dev, Debug assumes the home terminal.
The output-dev parameter has these formats:
D [ register ] [ , [ OUT ] output-dev ]
[ * ]
E specifies the ENV register. When asked to display the ENV register,
Debug translates the meaning of its contents.
SP specifies the space identifier of the current code segment.
* displays all registers, including TNS/R registers and TNS environment
registers when the process is an accelerated mode.
Without the asterisk (*), only TNS/R registers are displayed in native
process; only TNS environment registers are displayed in TNS or
accelerated mode.
$F00 through $F31 and $FCR31 specify the IEEE floating-point registers.
These registers are available only after a
program has executed floating-point
instructions. When specified to display the
$FCR31 register, Debug translates the
meaning of the bits for the register. For more
information, see TNS/R Registers on
page 2-10.