System Debug Reference Manual (32650-90888)
340 Chapter9
System Debug Window Commands
wJ
PJA 23.2644 Implicit CST 23.2644
PJAX 5.3204 Implicit CSTX 5.3204
• As a full absolute code pointer (ACPTR)
PJA CST(2.200) Explicit CST coercion
PJAX CSTX(2.200) Explicit CSTX coercion
PJAX logtoabs(prog(1.20)) Explicit absolute conversion
The search path used for procedure name lookups is based on the
command suffix letter:
PJA GRP, PUB, LGRP, LPUB, SYS
PJAX PROG
dst.off
The stack frame (Q) and top of stack (S) windows can be aimed at any data
segment and offset.
ldev.off
The LDEV window can be aimed at a disk
ldev.byte-offset
.
win_number
You may specify which virtual window is the jump window, if there is
more than one window.
realaddr
The real memory window (Z) can be aimed at any real address. If no
address is given, the address used is the address to which the window
previously was pointed (if any).
record_number
The text file record number.
Examples
$nmdebug > pj 200
Jump to the program file at offset 200. A logical address is expected as the value for this
command. Remember that when only an offset is specified as a logical address in the PJ
command, the space (SID) for the program is assumed. A STOLOG conversion (with the
"prog" selector) will be done to accomplish this.
$nmdebug > pj r2
Jump to the program file at the offset indicated by register R2. As in the above example,
when only an offset is given for a logical address, the space (SID) for the program file is
assumed.
$nmdebug > pjv r2
Jump to the offset indicated by register R2. The space is determined by using the
appropriate space register. A STOL conversion is performed to accomplish this.
$nmdebug > pjs r2
Jump to the system library (NL.PUB.SYS) at the offset indicated by register R2.
%cmdebug > pjg 2.200
Jump to the group library at logical segment 2 at an offset of 200.
$nmdebug > cmpj cmaddr("?fopen")