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-22
BASE Command
Example
For trace breakpoint examples, see Appendix F, Sample Debug Sessions.
Format of the Command-String Display
For an execute mode breakpoint (code or memory-access), Debug displays the value
of command-string that was entered with the breakpoint.The command-string
parameter is displayed in this form:
BASE Command
The BASE command changes the default base for numeric values displayed by Debug
and accepted by Debug as command input. The form of the BASE command is:
STANDARD | S
Generally, input and output base defaults are determined by each command:
•
Hexadecimal for the DN command and commands that use the N-address
mode.
•
Octal for most other commands.
The default base is STANDARD for both the IN and OUT options.
OCTAL | O
specifies that octal is the base for input or displayed numeric values.
DECIMAL | D
specifies that decimal is the base for input or displayed numeric values.
HEXADECIMAL | H
specifies that hexadecimal is the base for input or displayed numeric values.
index is an offset from the base address. It can be used with 16-bit
addresses only.
? is the trace indicator.
count is the number of 16-bit words to be displayed.
( command-string )
BASE [ STANDARD | S ] [ IN | I ]
[ OCTAL | O ] [ OUT | O ]
[ DECIMAL | D ]
[ HEXADECIMAL | H ]