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-53
I Command
These format options have these meanings:
If you omit mode, the default is based on the address that is currently being used.
Considerations
For an accelerated program, the I command displays the specified address area in
TNS instruction code and marks points of correspondence between TNS and RISC
instructions as follows:
•
A commercial at sign (@) marks a register-exact point.
•
A greater-than sign (>) marks a memory-exact point.
These points are the TNS environment P register values on which you can set
breakpoints. For more information on these points, see TNS and RISC Execution
Correspondence (Accelerated Mode) on page 2-5.
Examples From a TNS Program
050,03,00013-I %104
%000104: ADDS +002
050,03,00013-I %104, #10
%000104: ADDS +002 LADR L+006 LLS 01 PUSH 700
%000110: ADDS +032 LOAD L-003 PUSH 700 ADDS +006
%000114: LDLI +200 LDI -007
050,03,00013-I Q #40/2, 5 :r
00080028: SUBU t4,v1,at UNKNOWN 64000000 NOP
00080034: NOP NOP
050,03,00013-
Example From an Accelerated Program
050,03,00014-I %104, #10
%000104: @ ADDS +002 LADR L+006 LLS 01 PUSH 700
%000110: ADDS +032 LOAD L-003 PUSH 700 ADDS +006
%000114: > LDLI +200 LDI -007
050,03,00014-
T displays TNS instruction code.
N displays RISC instruction code.
R displays RISC instruction code.