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-43
DN Command
The default format is determined by a preceding BASE command If no BASE
command has been entered, the default format is H, which displays 32 bits (4
bytes).
display-size
indicates the number of bytes in the displayed item. Valid sizes are integer
values of 1 through 4.
The default display sizes for the display types are as follows:
Considerations
•
Use this command to display memory using 32-bit addresses. DN is especially
convenient for displaying 32-bit data. It is suitable for data in both flat and
selectable data segments, as well as data in RISC program globals and stacks,
and RISC code.
•
The D command (with or without the N address mode) and the DN command can
be used in TNS, accelerated, or native processes.
•
The command displays information to the home terminal for the Debug process.
•
The entered address does not need to fill 32 bits, but Debug treats it as if it were
32 bits long. For example, the address “DN 1234” is valid, but in RISC execution
mode, Debug assumes that its value is 0x00001234. The default input base is
hexadecimal.
•
The default base is hexadecimal for all components of the command. You can
override the default base by using a prefix as described in Expression Syntax on
page 3-9. The applicable prefixes are:
•
The default base is hexadecimal. You can override the default base by setting the
display format in the DN command.
Format Display Type Size in Bytes
AASCII 2
R RISC instruction code 4
T TNS instruction code 2
BBinary 1
OOctal 2
DDecimal 2
H Hexadecimal 4
% for octal
# for decimal