Native Inspect Manual (H06.07+)

Syntax of Native Inspect Commands
Native Inspect Manual528122-006
4-11
Specifying Pathnames in Native Inspect Commands
Specifying Pathnames in Native Inspect
Commands
Certain Native Inspect commands require you to specify either an OSS or a Guardian
pathname. Here are the rules Native Inspect follows for resolving pathnames and
determining the current working directory.
Resolving Pathnames
If you specify an OSS or Guardian absolute pathname, that pathname is used
regardless of whether the current working directory is an OSS or a Guardian working
directory.
If you specify an OSS or Guardian relative pathname, it is resolved to an absolute
pathname according to the current working directory. Thus, if the current working
directory is an OSS absolute pathname, Native Inspect resolves the relative pathname
to an OSS absolute pathname. Likewise, if the current working directory is a Guardian
absolute pathname, Native Inspect resolves the relative pathname to a Guardian
absolute pathname.
Default Current Working Directory
The default current working directory is as follows:
When you start Native Inspect from either the OSS environment (by using the
gtacl -p eInspect command) or from the Guardian environment (by using the
eInspect command at the TACL prompt), the current working directory has the
Guardian format.
When a process is placed under Native Inspect control, the current working
directory has the OSS format for an OSS process, and the Guardian format for a
Guardian process. In normal operations, a process is placed under Native Inspect
control when:
°
You enter a RUND or RUNV command from the Guardian TACL prompt
°
You enter a run -debug command from the OSS shell
°
You enter an attach command from the Native Inspect command prompt
°
The process calls the DEBUG() procedure
Opening a snapshot file has no affect on the current working directory, regardless
of whether the process in the snapshot file is an OSS process or a Guardian
process.
Commands displaying output containing pathnames are not affect by the current
working directory. These commands always display the format returned by the
particular command.