System Debug Reference Manual (32650-90888)
Chapter 10 421
System Debug Standard Functions
func nmnode
Formal Declaration
nmmod:str (
virtaddr
:ptr [
length
:u16=$20])
Parameters
virtaddr
The virtual address for which the symbolic module name is to be returned.
Virtaddr
can be a short pointer, a long pointer, or a full logical code
pointer.
length
The maximum length of the module name string to be returned. If the
name does not fully fit into the space specified, it will be truncated and
followed by an asterisk (*) to indicate the truncation.
If the indicated address is not contained in a named module, an empty string is returned.
Examples
$nmdebug > wl nmpath( P_NEW_HEAP )
XL.PUB.SYS/p_heap:P_NEW_HEAP
$nmdebug > wl nmmod ( P_NEW_HEAP )
p_heap
This example shows a Pascal library routine called P_NEW_HEAP which is contained in the
module named p_heap.
Limitations, Restrictions
none
func nmnode
Returns the NM logical code address (TRANS) of the closest NM node point corresponding to
the specified NM address.
Syntax
nmnode (
virtaddr
[
node
])
Refer to appendix C for a discussion of CM object code translation, node points, and
breakpoints in translated CM code.
Formal Declaration
nmnode:trans (
virtaddr
:ptr [
node
:str="PREV"])