Debug Manual

Table Of Contents
Debug Command Overview
Debug Manual421921-003
3-4
Modify Commands
Modify Commands
The modify commands are listed in Table 3-3.
PMAP Print code
map
Display corresponding
blocks of TNS and
RISC code
Displays the contents of specified
memory as TNS code and
corresponding RISC code for
accelerated programs.
T Trace Trace stack markers Displays key attributes of the
process’s stack frames (procedure
activations), up to ten at a time.
= Equal Compute a value Computes and displays the value of
an expression in decimal,
hexadecimal, octal, binary, ASCII, or
instruction code. Translates and
displays an expression as both forms
of the ENV register: the hardware
ENV register and the stack marker
ENV register.
Table 3-3. Modify Commands
Command Meaning Function Description
M Modify Modify data Modifies the contents of specified
variables.
Modify register
contents
Modifies the contents of a specified
register.
Modify space identifier Modifies the current space identifier in
order to cause a different code segment
to become the current code segment.
MH Modify
handling
Modify signal handling Modifies signal handling by associating a
new signal handler or signal action with
a signal.
Note. You can change the current location of a process running in TNS or accelerated mode
by modifying the value of the P register. If the process is a multiple-segment process, you must
also change the space identifier. You change the space identifier in order to change the
location of the process to a different code segment. It is also possible to change the current
location of a process running in native mode, but doing so requires knowledge of native mode
internals and is beyond the scope of this manual.
Table 3-2. Display Commands (page 2 of 2)
Command Meaning Function Description