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 Manual—421921-003
4-1
4 Debug Commands
This section describes Debug commands. Table 4-1 summarizes all of the available
Debug commands. Then the descriptions of each command are written on the
subsequent pages.
Command Summary
Table 4-1 summarizes the Debug commands. Note that some commands are available
only to privileged users. These commands are indicated with a check (√ ) in Table 4-1.
Table 4-1. Debug Command Summary (page 1 of 2)
Command
Priv
Only Purpose Page
A Command
Display data in ASCII 4-3
AMAP Command Provide information about an address 4-6
B Command Set code breakpoint, and display code
and memory-access breakpoints
4-7
BASE Command Set numeric base for input, output, or
both
4-22
BM Command Set memory-access breakpoint 4-24
C Command Clear code breakpoint 4-32
CM Command Clear memory-access breakpoint 4-33
D Command Display data, registers, and space
identifier in numeric formats
4-33
DJ Command Display jump buffer contents in register
format
4-40
DN Command Display memory contents in a specified
format
4-41
EX[IT] Command Exit the Debug session and resume
process execution
4-45
F[ILES] Command Display file name, file number, and error
information for open files
4-46
FC Command Correct or change Debug command 4-47
FN Command Search memory to find a particular 16-bit
number
4-48
FNL Command Search memory to find a particular 32-bit
number
4-49
FREEZE
Command
√
Disable processors 4-50
HALT Command √ Halt a processor 4-51