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-60
Modify Register Contents
new-value
is a 16-bit word expression representing the new contents of the designated
register. The new-value parameter is a space identifier if you specify SP for
register.
If register is a TNS/R register, new-value is a 32-bit value and you enter new-
value in hexadecimal.
If you omit new-value, Debug prompts for a 16-bit word expression to represent
the new contents of the register. The prompt is of the form:
register
is the register to be modified.
current-value
is the current value of the indicated register.
You can enter one value at the prompt.
When you specify SP for register, new-value is of the form:
{ UC[.segment-num ] }
{ UL[.segment-num ] }
{ SC[.segment-num ] }
{ SL[.segment-num ] }
segment-num
defines the particular library code segment within the user code or user library
space, and it must be an octal number identifying any allowed segment. If you
omit segment-num, Debug uses 0.
register: current-value <-
U
C
indicates the user code space.
U
L
indicates the user library space.
S
C
indicates the system code space (valid only in privileged mode).
S
L
indicates the system code space (valid only in privileged mode).