System Debug Reference Manual (32650-90888)
Chapter 10 379
System Debug Standard Functions
func cmproc
fopen+102 CM procedure fopen + %102 (assumes CM mode)
cmaddr('fopen')+%102 CM procedure fopen + %102 (NM or CM
mode)
node
The desired node point, either PREV (closest previous node) or NEXT
(closest next node). If unspeciļ¬ed, then PREV is assumed.
Examples
%cmdebug > wl cmnode(sys(2.226))
SYS %2.224
Print the CM address of the closest CM previous (by default) node point.
%cnmdebug > wl cmnode(sys(2.226), "next")
SYS %2.232
Print the CM address of the closest CM next node point.
Limitations, Restrictions
none
func cmproc
Returns the CM procedure name and offset corresponding to a CM logical code address.
Syntax
cmproc (
cmlogaddr
)
The string returned by CMPROC can be either of the two following formats :
?
entrypoint_name
or
procedure_name
+
base offset
Detailed descriptions of each of the above return strings follow:
entrypoint_name
The name of the CM entry point (primary/secondary).
procedure_name
The name of the CM procedure.
base
The output radix used to represent
offset
, which depends on the current
output base.
% Octal
$ Hexadecimal
# Decimal
offset
If the offset is nonzero, then it is returned, appended to the procedure