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-73
VQA Command
VQA Command
The VQA command sets the current selectable data segment to the specified absolute
segment number. The syntax of the VQA command is:
expression-16
is the specified segment ID of the segment that is to be the current selectable data
segment (Q segment). If you omit expression-16, the current segment ID
reverts to the one in use when the process entered Debug.
Considerations
•
The VQA command affects only the current segment ID as viewed during
debugging. It does not change the current segment ID seen by the program itself.
•
If the specified segment ID is not allocated, an error occurs.
Example
050,03,00266-vqa #1024
= Command
The = command computes and displays the value of an expression. This value can be
displayed in octal, decimal, hexadecimal, binary, ASCII, RISC instruction code, or TNS
instruction code.
The = command can also translate and display an expression as both forms of the
TNS environment ENV register: the hardware ENV register and the stack marker ENV
register.
The form of the = command is:
VQA [ expression-16 ]
= expression [ : [ A ] ]
[ B ]
[ D ]
[ E ]
[ H ]
[ N ]
[ O ]
[ R ]
[ T ]
[ # ]
[ % ]