DEBUG Subcommands-ORIGIN ORIGIN the ORIGIN subcommand to set an or1g1n or base address to be used in
the debug environment. The format of the ORIGIN subcommand is: r- , ORigin {
SYmbOl}
I hexloc , Q L- symbol
hexloc
is a symbolic name that was previously assigned (via the
DEFINE subcommand) to a storage address. is a hexadecimal location within
storage. If you do not explicitly
a value of o.
the limits of your virtual
set an origin, then it has
1. When the ORIGIN subcommand specifies a symbol, the debug symbol
table is searched. If a match is the value corresponding to
the symbol becomes the new origin. When a hexadecimal location is
specified, that value becomes the or1g1n. In either case, the
operand cannot specify an address greater than your virtual storage
size.
2. Anv origin set by an ORIGIN subcommand remains in effect until
another ORIGIN subcommand is issued, or until you obtain a new copy
of eMS. Whenever a new ORIGIN subcommand is issued, the value specified in that subcommand overlays the previous origin setting.
If you obtain a new copy of eMS (via IPL), the origin is set to 0 until a new ORIGIN subcommand is issued. 3. You can use the ORIGIN subcommand to set the origin to your
program's base address, and then refer to actual instruction addresses in your program, rather than to virtual storage
locations.
None.
Section 4. DEBUG Subcommands 211
DEBUG Subcommands-PSW r RETURN PSW Use the PSW status word) .
subcommand to display the contents of
The format of the PSW subcommand is:
the PSi (program
r , PSW L- -l 1. If the debug environment was entered because of a program
interruption
r the program old PSi is displayed. If the debug
environment was entered because of an external interruptionr the external old PSW is displayed. If the debug environment was
entered for any other reason
r
the following is displayed in
response to the PSW subcommand: 01000000xxxxxxxx where the 1 in the first byte means that external interruptions are
allowed and xxxxxxxx is the hexadecimal storage address of the
debug program.
2. The PSW contains some information not contained in storage or
registers but required for proper program execution. In general r the PSW is used to control instruction sequencing and to hold and
indicate the status of the system in relation to the program
currently executing. For a description of the PSW, refer to
"Appendix A: System/370 Information" in the §I§1gm The PSW is displayed in hexadecimal representation.
RETURN Use the RETURN subcommand to exit from the debug environment and enter
the CMS command environment. The format of the RETURN subcommand is: r -----, , RETurn , L __ _ ----.-.:8 The subcommand is valid only when the debug environment was
entered via the DEBUG command.
The CMS ready message indicates that control has been returned to the eMS environment. 272 VM/3 7 0 eMS Command and Macro Reference
Previous Page Next Page