An Overview of VM/SP Commands that Can Be Used for Debugging
TheVM/SP Control Program provides interactive commands that control the VM/SP system and enable the user to control his virtual machine and associated
control program facilities. The virtual machine operator using these commands can
gather much the same information about his virtual machine as the operator of a
real machine gathers using the processor console.Several of these commands (for example, STORE or DISPLAY) examine or alter
virtual storage locations. WhenCP is in complete control of virtual storage (as in
the case ofDOS, MFT, MVT, PCP, CMS, and RSCS) these commands execute as
expected. However, when the operating system in the virtual machine itself manip
ulates virtual storage (as in the case ofOS/VSl, OS/VS2, or DOS/VS) these CP commands should not be used.
This section presents an overview of theVM/SP commands used for debugging. It
supplements the preceding section which discussed debugging procedures and tech
niques. Instructions for using the commands discussed in this section are in the fol
lowing publications:• VM/SP CP Command Reference for General Users • VM/SP Operator's Guide • VM/SP CMS Command and Macro Reference
The following categories of commands are discussed:
Commands that displayVM/SP control information
Commands that set and query system features, conditions, and events
Commands that collect and analyze system information
Commands that trace events in virtual machines
Commands that alter the contents of storage
Commands that Display or Dump Virtual Machine Data
Commands that display or dump virtual machine data are:DUMP, VMDUMP, DISPLAY, DCP, and DMCP. The DUMP and DISPLAY commands of CP are privilege class G commands and
are used to display control information describing the status of virtual machines.
TheDUMP command spools the following information to your virtual printer: • Virtual program status word (PSW) • General registers
Floating-point registers• Control registers (if your VM/SP directory has the ECMODE option) Storage keys
Virtual storage locations (first-level storage only)
TheDISPLAY command displays at your terminal the following kinds of control
information:
Virtual storage locations (first-level storage only)• Storage keys . General registers
Floating-point registers
Introduction to Debugging 497
The
control program facilities. The virtual machine operator using these commands can
gather much the same information about his virtual machine as the operator of a
real machine gathers using the processor console.
virtual storage locations. When
the case of
expected. However, when the operating system in the virtual machine itself manip
ulates virtual storage (as in the case of
This section presents an overview of the
supplements the preceding section which discussed debugging procedures and tech
niques. Instructions for using the commands discussed in this section are in the fol
lowing publications:
The following categories of commands are discussed:
Commands that display
Commands that set and query system features, conditions, and events
Commands that collect and analyze system information
Commands that trace events in virtual machines
Commands that alter the contents of storage
Commands that Display or Dump Virtual Machine Data
Commands that display or dump virtual machine data are:
are used to display control information describing the status of virtual machines.
The
Floating-point registers
Virtual storage locations (first-level storage only)
The
information:
Virtual storage locations (first-level storage only)
Floating-point registers
Introduction to Debugging 497