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-41
DN Command
DN Command
The DN command displays memory contents in multiple formats: namely, ASCII, RISC
instruction code, TNS instruction code, binary, octal, decimal, or hexadecimal. The DN
command parameters specify this information:
•
Address, or the beginning address, of the memory that Debug should display
•
Count of the items to be displayed and the format you are using to enter the count
•
Display format that Debug should use to display the memory contents
The syntax of the DN command is:
32-bit-address
is the RISC address, or beginning RISC address, of the memory to be displayed.
count-format has this form:
{ FOR | , }
specifies that instructions for count-format follow in the command. You
must begin the count-format with a FOR or a comma (,). A count format
and a display format can appear in either order in a DN command.
count
is an expression specifying the number of 32-bit items to be displayed. The
default base for count is hexadecimal.
count-size
specifies the number of bytes in the count unit. The format of count-size is:
{ B1 | B2 | B3 | B4 }
B1 specifies 1 byte, B2 specifies 2 bytes, and so forth. The default size is B4.
The number of bytes that Debug will display is count times count-size.
BY columns
specifies the number of items to be displayed in a row. This option allows you
to control the number of columns for data displayed in a table format. Valid
numbers are integers beginning with 1. If the number of items fills a line of
output, Debug automatically wraps the displayed line.
DN 32-bit-address [ count-format ] [ display-format ]
{ FOR | , } count [ count-size ] [ BY columns ]