Inspect Manual
High-Level Inspect Commands
Inspect Manual—429164-006
6-11
ADD PROGRAM
control (instead of using the TACL RUND command) or to examine the contents of a
save file.
process
specifies a process as the program to add. $name identifies the process by its
process name, cpu,pin identifies it by its process ID (CPU number and process
number), and oss-pid identifies an OSS process by its OSS process ID.
{ save-file [ CODE code-file [ LIB lib-file] ]
[ SRL {(srl-file [ , srl-file,...])}]
specifies a save file as the program to add. Inspect retrieves the file, adds it to the
program list, and makes it the current program. Depending on Inspect’s current
systype, this can either be a Guardian file name, or an OSS pathname.
The systype determines the syntax of the file name, not the type of the process
being added. The CODE and LIB clauses enable you to associate alternate code
and library files with the given save file. The SRL clause is a single filename, or a
comma separated list of SRL object files within parentheses. If the process used
more SRLs than you specified, Inspect will emit a warning.
CODE code-file
directs Inspect to retrieve symbol information from an object code file other than
the one specified internally in the save file.
LIB lib-file
directs Inspect to retrieve symbol information from a library file other than the one
specified internally in the save file.
SRL srl-file
directs Inspect to retrieve symbol information from a shared runtime library file
other than the one specified internally in the save file.
ADD PROGRAM { process }
{ save-file [ CODE code-file]
[ LIB lib-file] ]
[ SRL {(srl-file [ , srl-file,...])}]
process:
[\system-name.] { $name | cpu,pin | oss-pid }
Note. The SELECT PROGRAM command can be used to specify alternate code and library
files with a running process after it has been successfully added.