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

Debug Commands
Debug Manual—421921-003
4-38
Display Register Contents
Examples Specific to Debugging in Accelerated Mode
050,03,00023-d *
*** WARNING: TNS STATE MAY NOT BE WHERE YOU THINK IT IS ***
S=%000060 P=%000177 E=%000307 L=%000023 SP=UC.%00
ENV IS: TK CCG RP7
EXAMPLE_FILL_ARRAY + %000073
*REG* %177000 %177767 %000062 %000021 %000005 %000050 %000140 %000166
EXECUTION MODE = ACCELERATED
$PC: 0x7042023C $HI: 0x000016C2 $LO: 0x0DA329FC
$00: $00: 0x00000000 $AT: 0x00000001 $V0: 0x7E000000 $V1: 0x00000000
$04: $A0: 0x0008002E $A1: 0x00000037 $A2: 0x00000000 $A3: 0x00000000
$08: $T0: 0x00000061 $T1: 0x00000005 $T2: 0x00000001 $T3: 0x70420220
$12: $T4: 0x00000037 $T5: 0x8006FC14 $T6: 0xFFFFFFFF $T7: 0x00050000
$16: $S0: 0xFFFFFE00 $S1: 0xFFFFFFF7 $S2: 0x00000032 $S3: 0x00000011
$20: $S4: 0x00000005 $S5: 0x00000028 $S6: 0x00000060 $S7: 0x00000076
$24: $T8: 0x70000000 $T9: 0x00000080 $K0: 0xA713A713 $K1: 0xA713A713
$28: $GP: 0x70400A00 $SP: 0x00000060 $S8: 0x00000026 $RA: 0x7042023C
050,03,00023-d e
*** WARNING: TNS STATE MAY NOT BE WHERE YOU THINK IT IS ***
ENV IS: TK CCG RP7
050,03,00023-d sp
*** WARNING: TNS STATE MAY NOT BE WHERE YOU THINK IT IS ***
SPACEID: UC.%00
050,03,00023-d $SP
*REG*: 0x00000060
050,03,00023-d r7
*** WARNING: TNS STATE MAY NOT BE WHERE YOU THINK IT IS ***
*REG*: %000166
Note. D SP and D $SP refer to two different registers.