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 Command Overview
Debug Manual—421921-003
3-12
Address Syntax
Address Syntax
Many Debug commands require you to specify an address. The syntax for an address 
is as follows: 
32-bit-address
defines the 32-bit address where the code or data is located. 
TNS-style
defines the code or data segment address for TNS users. The syntax for the TNS-
style address is as follows:
 address-mode
defines the code or data segment where the address is located. The value of 
address-mode can be one of the following:
UC[.segment-num, ]
indicates that the address is in the TNS user code space. The segment-num 
parameter defines the particular code segment within the user code space. 
The value of segment-num must be in the valid range, which (in octal) is 0 
through %37. If you omit segment-num, Debug uses 0. 
UL[.segment-num, ]
indicates that the address is in the TNS user library space. The segment-num 
parameter defines the particular library code segment within the user library 
space. The value of segment-num must be in the valid range, which (in octal) 
is 0 through %37. If you omit segment-num, Debug uses 0. 
SC[.segment-num, ]
indicates that the address is in the TNS system code space. SC is allowed only 
in privileged mode. The segment-num defines the particular code segment 
within the system code space. If you omit segment-num, Debug uses 5. 
The value of segment-num must be in the range 5 through %37 (octal).
SL[.segment-num, ]
indicates that the address is in the TNS system library space. SL is allowed 
only in privileged mode. The segment-num parameter defines the particular 
[ 32-bit-address ] | [ TNS-style ] | [ Q-mode ] | [ N-mode 
] 
[ address-mode ] offset  [ indirection-type [ index ] ]










