DEBUG Subcommands-GPR, HX GPR Use the GPR subcommand to display the contents of one or more general
registers at the terminal. The format of the GPR subcommand is: r '--------------------------, I GPR I reg 1 r reg2 1 1 L- regl is a decimal number (from 0-15 inclusive) indicating the first
or only general register whose contents are to be displayed.
reg2 is a decimal number (from 0-15 inclusive) indicating
general register whose contents are to be displayed.
be larger than reg1.
the last
reg2 must register or registers specified are displayed, in hexadecimal
representation:
xxxxxxxx
HX Use the subcommand to leave
reason the debug environment
su bcomma nd is: r I L- the debug environment, regardless of the
was entered. The format of the HI
If you entere1 the debug environment following a program interruption,
you receive the message: CMS to indicate a return to the CMS environment. If you entered the debug
environment by issuing the DEBUG command, you receive the message:
DMSABN148T SYSTEM ABEND 2E4 CALLED FROM xxxxxx
where xxxxxx is the address of the debug routine. 2
7 0
IBM VM/370 CMS Command and Macro Reference
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
Previous Page Next Page