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-44
DN Command
•
All displays contain the full display address along the left-hand side of the display.
For example, the output from the command “DN $SP, 10” is formatted as follows:
4FFFFA78: 0x08000680 0x70011D94 0x00000004 0xFFFFFFF7
4FFFFA88: 0x00000000 0x00000000 0x4FFFFB30 0x7C260D48
4FFFFA98: 0x00000000 0x00000000 0x08000680 0x50000000
4FFFFAA8: 0x00000004 0x00000000 0x4FFFFB40 0x00000000
•
It is your responsibility to ensure the compatibility of the count format with the
display format. If count-size exceeds display-size, Debug truncates the
memory displayed to the display size. If display-size exceeds count-size,
Debug displays memory up to count-size.
•
Display addresses do not need to be aligned on 16-bit or 32-bit boundaries. A
display command displays the address given in the stated format correctly
independent of the byte alignment of the address.
Examples
This command displays eight hexadecimal values. The display-size is the default
size, which is 4 bytes.
248,06,024-DN 0x70000, #8
70000000: 0x004C004C 0x137219A9 0x2CEF3457 0x349C94B0
70000010: 0x39F73AB3 0x3B683E90 0x3F8E3FCB 0x40814140
This command displays eight hexadecimal two-byte values:
248,06,024-DN 0x70000, #8 B2
70000000: 0x004C004C 0x137219A9 0x2CEF3457 0x349C94B0
This command displays eight hexadecimal two-byte values, two bytes at a time:
248,06,024-DN 0x70000, #8 B2 IN H 2
70000000: 0x004C 0x004C 0x1372 0x19A9
70000008: 0x2CEF 0x3457 0x349C 0x94B0
This command is equivalent to the preceding command but uses different options:
48,06,024-DN 0x70000, #8 B2:H 2
70000000: 0x004C 0x004C 0x1372 0x19A9
70000008: 0x2CEF 0x3457 0x349C 0x94B0
This command displays eight two-byte octal values, with four values to a column:
48,06,024-DN 0x70000, #8 B2 BY 4:O 2
70000000: 0x000114 0x000114 0x011562 0x014651
70000008 0x026357 0x032127 0x032234 0x112260
This command displays eight hexadecimal values, with three values to a row:
248,06,024-DN 0x70000, #8 BY 3
70000000: 0x004C004C 0x137219A9 0x2CEF3457