27.12.2012 Views

z/VM: CP Commands and Utilities Reference - z/VM - IBM

z/VM: CP Commands and Utilities Reference - z/VM - IBM

z/VM: CP Commands and Utilities Reference - z/VM - IBM

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Options<br />

PSWA range<br />

FRom range<br />

Range range<br />

specifying the program status word address (PSWA) restricts instruction tracing<br />

to a given address range. It permits a trap to be taken if the PSWA (commonly<br />

known as the instruction counter) points to an instruction in the specified range.<br />

The range may be a single address, a pair of addresses separated by a hyphen<br />

(-), or an address followed by a period (.) followed by a byte count. An<br />

instruction is considered to be within the range if the first byte is within the<br />

range.<br />

The FROM option is not supported for the TRACE AIF comm<strong>and</strong>.<br />

The instruction addresses specified for the range cannot exceed<br />

FFFFFFFF FFFFFFFF.<br />

FROM <strong>and</strong> RANGE are synonyms for PSWA used in those subcomm<strong>and</strong>s<br />

where a potential for confusion exists. For example, TRACE BRANCH allows<br />

two instruction ranges to be specified, a FROM range <strong>and</strong> an INTO range.<br />

FROM <strong>and</strong> RANGE are allowed wherever PSWA is allowed.<br />

For executed instructions (that is, instructions that are issued by means of the<br />

assembler language EXECUTE instruction), the instruction is within the range if<br />

either:<br />

v The first byte of the EXECUTE instruction is within the range<br />

v The first byte of the target instruction is within the range.<br />

For external interrupts, the PSW address at the time of the interrupt is<br />

inspected to see if it is within the range.<br />

TRACE: Options<br />

When a program event recording (PER) event is reflected to your virtual<br />

machine, the PER event address is checked.<br />

For any other program exception, the old PSW instruction address is inspected<br />

if a nullification exception occurs; for all others, the old PSW instruction address<br />

is adjusted by the instruction length.<br />

ALEThexword<br />

indicates that access register translation be used to locate the address space to<br />

be traced. The access list entry token (ALET) is used in conjunction with the<br />

guest access register translation tables to locate the STO of the address space<br />

to be traced.<br />

ALEThexword.ALraddr<br />

restricts tracing to events in an address space using the specified access list<br />

entry token (ALET) <strong>and</strong> access list (AL). The ALET <strong>and</strong> AL are used in<br />

conjunction with the guest access register translation tables to locate the STO<br />

of the address space to be traced.<br />

AREGareg<br />

indicates that access register translation be used to locate the address space to<br />

be traced. The access register (areg) is specified as one hexadecimal or two<br />

decimal digits. The access list entry token (ALET) within the access register is<br />

used in conjunction with the guest access register translation tables to locate<br />

the STO of the address space to be traced.<br />

Chapter 2. <strong>CP</strong> <strong>Comm<strong>and</strong>s</strong> 1605

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!