Inspect Manual

Using Inspect With FORTRAN
Inspect Manual429164-006
11-2
Code Locations
Code Locations
.Here is the syntax you use to identify FORTRAN code locations in Inspect.
scope-path
specifies the program unit containing the code location. When used alone,
scope-path specifies the primary entry point of the last program unit. When
followed by a code offset, scope-path specifies the base of the program unit.
[ scope-path. ] code-spec
specifies a named or numbered location in the program unit defined by the given
scope path (or the current scope path if you omit the scope path).
scope-unit
specifies the primary entry point of the program unit. scope-unit must be
the same as the program unit named in scope-path (or the current scope
path).
statement-function
specifies a statement function.
statement-label
specifies the statement following a statement label. The SET LOCATION
FORMAT command is used to differentiate between statement-label and
statement-number. See Usage Considerations
on page 11-3.
code-location:
{ scope-path } [ offset ]...
{ [scope-path.]code-spec }
code-spec: one of
scope-unit
statement-function
statement label
entry point
statement-number
#line-number [ (source-file) ]
offset:
{ + | - } num [ code-unit ]
code-unit: one of
INSTRUCTION[S]
STATEMENT[S]
VERB[S]