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-23
BASE Command
IN | I
changes the base only for numeric values being entered.
OUT | O
changes the base only for numeric values being displayed.
Considerations
•
If the command omits both IN and OUT, the command affects both values being
entered and values displayed.
•
Once issued, the BASE command is in effect until either you enter another BASE
command that overrides a previous command or the process terminates.
•
The command BASE, with no options, cancels any previous BASE command and
sets standard defaults for both input and output.
•
The ? command displays the current settings for BASE.
•
The N address mode is not affected by the BASE command.
•
The BASE command has no effect on these displays:
°
The sys,cpu,pin parameters in Debug’s prompt, which are decimal
°
User code and user library segment numbers, and system code and system
library segment numbers, which are octal
Examples
This command series changes the base on input and output to hexadecimal, decimal,
and octal for arithmetic with the = command.
215,05,00069-BASE H; = 7000/2 ! Hexadecimal
= 0x3800 %0034000 #14336 ‘8.’
215,05,00069-BASE D; = 7000/2 ! Decimal
= #003500 %006654 0x0DAC ‘..’
215,05,00069-BASE; = 7000/2 ! Octal (the default)
= %003400 #01792 0x0700 ‘..’
This command displays the contents of TNS environment register R0. The default
base for output is octal.
215,05,00069-D R0
*REG* %002377
This command series changes the base for output to hexadecimal and displays the
contents of R0 again.
215,05,00069-BASE H O; D R0
*REG* 0x04FF