Debug Manual

Table Of Contents
Debug Commands
Debug Manual421921-003
4-58
M Command
The LMAP command is not available when the process in Debug is one that does
not allow page faults.
Examples
243,01,00282-lmap sl.7,24137 ! an address in SL.07
EMTEXT + %17226 (SL.07)
243,01,00282-lmap n 0x7a0e50be ! same location as a 32-bit address
EMTEXT + %17226 (SL.07)
243,01,00282-lmap n 0x7A6CDBAC ! an address in accelerated code
EMSTEXT + %17226 (acc SL.07)
243,01,00071-lmap n 0x700015ac ! an address in a native program
PROGRAM + 0x5EC (UCr)
242,01,00040-lmap n 0x76068130 ! an address in a native SRL
printf (SRL ZCRTLSRL)
M Command
The M command has these functions:
To modify the contents of a process’s variable
To modify the contents of one of a process’s registers, or to modify the space
identifier of the current code segment
Each function is defined by a unique syntax. Each function and its syntax is described
on the following pages.
Modify Variables
The M command can modify the contents of a process’s variables. The modify-variable
form of the M command is:
address
is the address of the first variable to be modified. For more information, see
Address Syntax on page 3-12. The only address modes allowed while in
nonprivileged mode are L, S, Q, and N. All address modes are allowed for a
process while in privileged mode.
new-value
is a 16-bit word expression representing the new contents of the modified
variables. A series of more than one new-value separated by commas modifies
consecutive ascending memory locations. A 16-bit word is used for new-value
M address [ , new-value ] ...