System Debug Reference Manual (32650-90888)
372 Chapter10
System Debug Standard Functions
func cmbpaddr
PUB Search the account library
LGRP Search the logon group library
LPUB Search the logon account library
SYS Search the system library
Examples
$nmdebug > wl cmaddr( "my'lib'proc" "pub")
PUB $2.124
Look up the start address of my'lib'proc in the CM group library.
$nmdebug > wl cmaddr( "?fopen" ):"%.o"
SYS %22.5000
Look up the entry point address of fopen and display the address in octal.
Limitations, Restrictions
none
func cmbpaddr
Returns the address corresponding to the indicated CM breakpoint index.
Syntax
cmbpaddr (
bpindex
[
pin
])
This function accepts an index for an existing CM breakpoint and returns the address
where the breakpoint is located. The default action is to look for breakpoints set by the
current PIN. Breakpoint addresses for other pins (including the global PIN) may be
retrieved by utilizing the optional
pin
parameter.
Formal Declaration
cmbpaddr:lcptr (
bpindex
:u16 [
pin
:s16=0])
Parameters
bpindex
The breakpoint index to look for.
pin
Look for breakpoints set by this PIN. Default is the caller's PIN (a pin of 0
implies this). To specify system (global) breakpoints, use a -1 (or 32762) as
the PIN.