Inspect Manual

High-Level Inspect Commands
Inspect Manual429164-006
6-159
Usage Considerations
Usage Considerations
RESUME in Command Lists
In a command list, RESUME must be the last command.
RESUME in OBEY Files
If you use RESUME in an OBEY file and then refer to that OBEY file in the THEN
clause of the BREAK command, Inspect reports an error. For more information,
see the description of the OBEY
on page 6-152.
Resuming by Program Name
If you are debugging more than one process with the same program name, Inspect
resumes the oldest process when you use the program-name form of program. To
override, use the program-number or cpu,pin form of program.
Usage Considerations for Accelerated Programs
When debugging accelerated programs on a TNS/R system, it is not possible to
transfer program execution to arbitrary program locations as it is on the TNS. The
current location must be a register-exact point, the destination must also be a
register-exact point, and the value of RP must be the same at both locations. If the
target location is not a register-exact point, this error is reported:
If your current location is not a register-exact point, this error is reported:
The effect of the RESUME AT command can also be achieved by using either the
MODIFY REGISTER command or the low-level M command to modify the value of
the P register. As described previously, register modification commands are
restricted to operate only at register-exact points. When the operand is the P
register, they are further restricted to accept only values that are the address of
register-exact points. This error is reported if the value is not the address of a
register-exact point:
It is not possible for Inspect to determine the value of RP at the source and
destination locations. You must therefore ensure that the destination location has
the same RP value when changing the value of the P register. In general, the RP
** Inspect error 357 ** Target location must be a register-exact point
** Inspect error 370 ** Current location must be a register-exact point
Note. The register-pointer (RP) clause of the RESUME command is not supported for
accelerated programs.
** Inspect error 356 ** Value must be the address of a register-exact point