Debug Manual
Table Of Contents
- What’s New in This Manual
- About This Manual
- 1 Introduction
- Execution Modes on TNS/R Systems
- What User Access Is Required for Debugging
- How to Make a Process Enter Debug
- How to Select Debug as the Debugger
- Why a Process Enters Debug
- How to Determine Process State on a Trap or Signal
- Ending a Debug Session
- What Appears in the Debug Header Message
- How to Use Debug
- How Debug Breakpoints Work
- 2 Using Debug on TNS/R Processors
- 3 Debug Command Overview
- 4 Debug Commands
- Command Summary
- A Command
- AMAP Command
- B Command
- BASE Command
- BM Command
- C Command
- CM Command
- D Command
- DJ Command
- DN Command
- EX[IT] Command
- F[ILES] Command
- FC Command
- FN Command
- FNL Command
- FREEZE Command
- HALT Command
- H[ELP] Command
- I Command
- IH Command (TNS/R Native and OSS Processes)
- INSPECT Command
- LMAP Command
- M Command
- MH Command (TNS/R Native and OSS Processes)
- P[AUSE] Command
- PMAP Command (Accelerated Programs)
- PRV Command
- R Command
- S[TOP] Command
- T Command
- V Command
- VQ Command
- VQA Command
- = Command
- ? Command
- A Error Messages
- B ASCII Character Set
- C Command Syntax Summary
- Register Syntax
- Expression Syntax
- Address Syntax
- A Command
- AMAP Command
- B Command
- BASE Command
- BM Command
- C Command
- CM Command
- D Command
- DJ Command
- DN Command
- EX[IT] Command
- F[ILES] Command
- FC Command
- FN Command
- FNL Command
- FREEZE Command
- HALT Command
- H[ELP] Command
- I Command
- IH Command
- INSPECT Command
- LMAP Command
- M Command
- MH Command
- Output-Device Syntax
- P[AUSE] Command
- PMAP Command
- PRV Command
- R Command
- S[TOP] Command
- T Command
- V Command
- VQ Command
- VQA Command
- = Command
- ? Command
- D Session Boundaries
- E Correspondence Between Debug and Inspect Commands
- F Sample Debug Sessions
- Glossary
- Index

Using Debug on TNS/R Processors
Debug Manual—421921-003
2-13
TNS and TNS/R Register Correspondence
Table 2-2. TNS/R Register Use Summary (page 1 of 2)
Register Alias
Native
Execution
Mode TNS Execution Mode
Accelerated
Execution Mode
$00 Zero constant Zero constant Zero constant
$01 $AT Assembler
temporary
Temporary Temporary
$02, $03 $V0, $V1 Function values Temporary Temporary
$04..$07 $A0..$A3 Arguments Temporary Temporary
$08..$10 $T0..$T2 Temporary Temporary Temporary
$11 $T3 Temporary Rj_Ptr (executor
variable)
Temporary
$12 $T4 Temporary Arg (executor variable) Temporary
$13 $T5 Temporary Iword (executor
variable)
RA2 register
$14 $T6 Temporary K (carry bit) K (carry bit)
$15 $T7 Temporary CC (condition code; <0,
=0, >0)
CC (condition
code)
$16 $S0 Saved variables Do_Next R0
$17 $S1 Saved variables (spare) R1
$18 $S2 Saved variables Extended address in
read-only memory of
instruction decode
tables
R2
$19 $S3 Saved variables SG_Ptr. Extended
absolute address in
Kseg0 of system global
(SG) data segment
R3
$20 $S4 Saved variables RP wrap base (address
of R0)
R4
$21 $S5 Saved variables Cur_Cseg. Current
code segment as an
extended 32-bit address
(can be UC, UL, SC, or
SL)
R5
$22 $S6 Saved variables RPX. Extended
address pointing into
register stack array
holding TNS registers
R0 through R7
R6