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-19
Display Breakpoints
Format of the Memory-Access Breakpoint Display
Debug displays memory-access (MAB) breakpoints in this form:
{XA: | N:} mab-addr [ - ] MAB: access ( seg-type )
[PIN: { <pin-num> | ALL } ]
[ condition ]
[ trace ]
[ command-string ]
{XA: |
N: }
XA is a 32-bit extended address given when the MAB is on a data
location. N is given when the MAB is on a RISC stack location or a
code location. A MAB can be put on a TNS code location only in
privileged mode.
mab-addr indicates the 32-bit absolute address where the memory-access
breakpoint is set.
- indicates that this memory-access breakpoint is inhibited.
When a privileged memory-access breakpoint is set with the ALL
option specified, the memory-access breakpoints for all other
processes are inhibited and “-” appears in the display.
When the privileged ALL breakpoint is cleared, the memory-access
breakpoints for all of the other processes return to use and “-” no
longer appears in the display.
access indicates the type of memory access that triggers the breakpoint
and can be one of these access types:
R ! Break on a read access.
RW ! Break on a read/write access.
W ! Break on a write access.
C ! Break on change access.
seg-type indicates the type of segment that mab-addr points into. Segment
types are:
DATA SEG ! current data segment, in octal (TNS only)
Q segment-id ! selectable segment, in octal
UC.segment-num ! in user code space, in octal (TNS)
UL.segment-num ! in user library space, in octal (TNS)
SC.segment-num ! in system code space, in octal (TNS and PRV
only)
SL.segment-num ! in system library space, in octal TNS and PRV
only)
PIN: {
<pin-num>
ALL}
For more information, see Format of the Code Breakpoint Display
on page 4-17.