System Debug Reference Manual (32650-90888)

Chapter 9 341
System Debug Window Commands
wK
Jump the CM program window to the entry point for the fopen procedure. Note that since
we are in native mode, the CMADDR function must be used to look up the address of CM
procedures.
%cmdebug > nmpj cmtonmnode(?fopen)
Jump the NM program window to the nearest translated code node point associated with
the CM procedure fopen. Refer to appendix C for a discussion of CM object code
translation, node points, and breakpoints in translated CM code.
%cmdebug > SJ 12.200
Jump the stack window to data segment 12 at an offset of 200.
$nmdebug > vw c0.100 /* Create a new virtual window at c0.100
$nmdebug > vj c0.200 /* Jump the window to c0.200
$nmdebug > vj c0.300 /* Jump the window to c0.300
$nmdebug > vj /* Jump to previous location (c0.200)
$nmdebug > vh /* Jump to home location (c0.100)
The end result is to place the current virtual window at 100 (its "home" location).
Limitations, Restrictions
none
w
K
Window kill.
Syntax
RK CM registers
GRK NM general registers
SRK NM special registers
PK Program, current mode
CMPK CM program
NMPK NM program
QK CM frame, Q relative
SK CM stack, S relative
GK Group window
UK [
win_number
] User window
VK [
win_number
] Virtual window
ZK Real memory window
LK LDEV window
TXK [
win_number
] Text window
This command removes a window from the screen. It does this by setting the length of a
window to zero lines, which effectively makes it disappear. The command permanently
deallocates text, user, and virtual windows. (Attempts to set the lines to a value greater
than zero for these window results in an error since the window no longer exists.) If the
window is a text window, this command closes the file.