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-70
T Command
•
The T command has a default that provides a shorthand way of displaying
successive blocks of stack frames. If you execute a T command and the
subsequent Debug prompt ends with (T)-, this indicates that additional stack
frames remain to be displayed. For example:
149,06,00024 (T)-
You can display the remaining stack frames simply by pressing RETURN. This
executes a default command of the form
T & options
where options are the options you specified for the previous T command.
Executing this default command displays the next block of stack frames. You can
continue pressing RETURN until all stack frames have been displayed (the Debug
prompt no longer contains (T)-).
•
This routine displays a stack frame of any type. The format depends upon the
information available, including the emulation mode, TNS P, and RISC pc address.
The output line holds this form:
addr pc Virtual frame ptr id
addr pc E L id
addr P E L id
where:
addr is the location of the source of the data (16 or 32 bits), or empty;
pc is the RISC pc (32 bits);
P is the TNS P (16 bits);
E is the TNS environment (stack-marker form, 16 bits);
L is the TNS L (16 bits);
id is the procedure name and offset if requested and available, or the code space
location.
The standard base is hexadecimal for 32-bit data and octal for 16-bit data.
•
A stack trace may include both TNS/R native mode stack frames and TNS or
accelerated mode stack frames. If so, a blank line indicates each change of
execution mode.
•
RISC stack frame addresses grow from larger to smaller addresses. TNS stack
frame addresses grow from smaller to larger addresses.
•
When the N option is specified, Debug displays both the procedure name and the
offset into the procedure.
•
The N option format does not work when you are debugging these processes:
•
Monitor process.