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-20
Display Breakpoints
The displays for condition, trace, and command-string are described
separately later in this section.
Example
For memory-access breakpoint examples, see Appendix F, Sample Debug Sessions.
Format of the Conditional Breakpoint Display
For a conditional breakpoint (code or memory-access), Debug displays the conditional
information under the normal breakpoint information. The condition parameter is
displayed in one of these two forms:
The 32-bit display form:
The 16-bit display form:
{register | test-address } & mask {< } constant
{> }
{= }
{# }
register is one of the TNS/R registers.
test-address is a 32-bit address.
mask is an expression as defined under Set Conditional Code
Breakpoint on page 4-11.
<, >, =, # is less than, greater than, equal, and not equal, respectively.
constant is an expression as defined under Set Conditional Code
Breakpoint on page 4-11.
{register |test-address } [ {I} [index] ]& mask {< } constant
[ {IX} ] {> }
[ {IG} ] {= }
{# }
register is one of the TNS stack registers (R0 through R7) as described
under Register Syntax on page 3-7.
test-address is a 16-bit address or a 32-bit address.
I, IX, IG is integer indirect, integer extended indirect, and integer indirect
global, respectively. These indirect types can be used with 16-
bit addresses only.