Inspect Manual

Low-Level Inspect
Inspect Manual429164-006
7-2
Syntax of Low-Level Command Elements
Syntax of Low-Level Command Elements
Low-level Inspect command syntax is based on the syntax of Debug commands.
Inspect, however, allows symbolic references to code or data blocks in the break and
clear commands. Inspect supports Debug syntax for referencing specific code and
library segments in a multiple code segment program.
For a detailed syntax description of each of the low-level Inspect commands, use the
low-level Inspect HELP command.
Symbolic References
In the B (break) and C (clear) commands, low-level Inspect allows symbolic references
to a procedure name or a data block name:
B #block-name + nnnn
or
C #block-name + nnnn
where nnnn is the offset in words from block-name.
These symbolic references allow you to use a compilation listing without a load map to
determine the program-relative address of the breakpoint.
No other symbolic references can be used in the low-level Inspect command syntax.
Multiple Code Segment Programs
For multiple code segment programs, you must specify the code segment where the
address is located, in addition to the address. To specify a code segment, use the
following address modes:
{ UC | UL } [ .segment-number, ]
UC indicates that the address is in the user code space. UL indicates that the
address is in the user library space. Segment-number defines the particular code
segment within the user space; it must be a number in the range zero through 31
decimal. If you omit the segment number, Inspect uses zero.
C
indicates an address in the current code segment (user code space or user library
space).
For example, if #block-name is the name of a procedure in the first code segment of
the user code space, the command to set a breakpoint at this location has the format:
B UC.1, #block-name + nnnn
In a multiple code segment program, if you specify a code block name and you omit
the address mode, Inspect assumes the code segment to be the same as that of the