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-14
TNS and TNS/R Register Correspondence
$23 $S7 Saved variables PX. Extended address 
in  user space of next 
TNS instruction half 
word in current TNS 
code segment
R7
$24 $T8 Temporary UC_CSeg. User code 
segment as an 
extended 32-bit address
UC_Cseg. User 
code segment as 
an extended 32-bit 
address
$25 $T9 Temporary ENV. Environment 
register in stack-marker 
format
ENV. 
Environment 
register in stack-
marker format
$26, $27 $K0, $K1 Reserved for 
kernel
Reserved for kernel --
$28 $GP Global pointer RMap. Extended 
address of current TNS 
code segment’s return 
map
RMap. Extended 
address of 
current TNS code 
segment’s return 
map
$29 $SP Stack pointer SX. S register value as 
an extended 32-bit 
address
SX. S register 
value as an 
extended 32-bit 
address
$30 $S8/$FP Saved variables LX. L register value as 
an extended 32-bit 
address
LX. L register 
value as an 
extended 32-bit 
address
$31 $RA Return address Temporary Temporary 
$F00..$F31 When floating- 
point instructions 
have been used. 
$F00 through 
$F19 are 
temporary 
registers and 
$F20 through 
$F31 are saved 
registers.
$FCR31 When floating- 
point instructions 
have been used
Table 2-2. TNS/R Register Use Summary (page 2 of 2)
Register Alias 
Native 
Execution 
Mode TNS Execution Mode 
Accelerated 
Execution Mode 










