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-13
Address Syntax
code segment within the system code space. If you omit segment-num,
Debug uses 0.
The value of segment-num must be in the range 0 through %37 (octal).
UD[,]
indicates that the address is in the user data segment.
offset
is an expression giving the address, relative to the indicated address-mode.
indirection-type
specifies that the address is to be used as an indirect address. The value of
indirection-type must be one of the following:
index
is an expression to be used as an offset from the base address. The index
parameter is a byte offset if prefix is N or if indirection-type is S, SX,
or SG; otherwise, index is 16-bit word offset.
Q-mode
indicates that the address is in the current selectable data segment. Q indicates an
address within the currently assigned selectable segment. The syntax for Q-mode
is as follows:
Q offset [ indirection-type [index ] ]
See the definitions of offset, indirection-type, and index above.
C indicates an address in the current TNS code segment (user code
space or user library space).
L
indicates an L-relative address (procedure parameters or local
variables) in the user data segment.
S indicates an S-relative address (subprocedure parameters or sublocal
variables) in the user data segment.
G
indicates a system-global relative address in the system data segment.
G is allowed only in privileged mode.
I use the indirect address as a word address.
S use the indirect address as a byte address.
IX use the indirect address as an extended word address.
SX use the indirect address as an extended byte address or as a 32-bit
address.
IG use the indirect address as a system global word address; this type is
allowed only in privileged mode.
SG use the indirect address as a system global byte address; this type is
allowed only in privileged mode.