System Debug Reference Manual (32650-90888)

Chapter 10 411
System Debug Standard Functions
func nmaddr
returned for most data symbols must be relocated relative to DP to be useful.
Formal Declaration
nmaddr:long (
path
:str [
lookupid
:str="PROCEDURE"])
Parameters
path
The path specification for the NM procedure or data specified in the form:
file_name
/
module_name
:
procedure
/
dataname
or, for nested procedures:
file_name
/
module_name
:
parent_procedure
.
procedure
lookupid
A keyword indicating where to look for the code path specification given
above. Refer to the "Procedure Name Symbols" section in chapter 2 for
additional details. Valid keywords and their meanings are as follows:
Keyword Meaning
UNIVERSAL Search exported procedures in the SOM symbols.
LOCAL Search nonexported procedures in the SOM symbols.
NESTED Search nested procedures in the SOM symbols.
PROCEDURES Search local or exported procedures in the SOM symbols.
ALLPROC Search local/exported/nested procedures in the SOM
symbols.
EXPORTSTUB Search export stubs in the SOM symbols.
DATAANY Search exported and local data SOM symbols.
DATAUNIV Search exported data SOM symbols.
DATALOCAL Search local data SOM symbols.
LSTPROC Search exported level 1 procedures in the LST.
LSTEXPORTSTUB Search export stubs in the LST.
ANY Search for any type of symbol in the SOM symbols.
If a keyword is not given, the default PROCEDURES is used. In all cases, if
the path contains a procedure name that appears as a nested procedure
(for example:
name
.
name
), the function assumes the caller meant to use the
NESTED keyword.
The keyword may be abbreviated. The table of keywords (above) is
searched from top to bottom. Thus DATA is resolved as DATAANY.
NOTE
Searching the SOM symbols is noticeably slower than searching the LST
symbols.