MPE/iX Quick Reference Guide (32650-90881)

Chapter 6 159
System Debug
Debugging your system
cmbpindex:u16 (
cmaddr
:cptr [
pin
:s16=0])
func cmbpinstr
Returns the original CM instruction at a specified CM code address where a CM
breakpoint has been set.
cmbpinstr (
cmaddr
[
pin
])
Formal Declaration
cmbpinstr:s16 (
cmaddr
:cptr [
pin
:s16=0])
func cmentry
Returns the CM (primary) entry point address of the CM procedure containing the
specified CM logical code address.
cmentry (
cmlogaddr
)
Formal Declaration
cmentry:lcptr (
cmlogaddr
:lcptr)
func cmg
Returns the virtual address (SPTR) of a process's CMGLOBALS record.
cmg (
pin
)
Formal Declaration
cmg:sptr (
pin
:u16)
func cmnode
Returns the address of the closest CM node point corresponding to the specified CM logical
code address.
cmnode (
cmlogaddr
[
node
])
Formal Declaration
cmnode:lcptr (
cmlogaddr
:lcptr [
node
:str="PREV"])
func cmproc
Returns the CM procedure name and offset corresponding to a CM logical code address.
cmproc (
cmlogaddr
)
Formal Declaration
cmproc:str (
cmlogaddr
:lcptr)