System Debug Reference Manual (32650-90888)

Chapter 6 275
System Debug Command Specifications M-X
TRAP
Arms/disarms/lists various traps that are monitored by Debug.
Syntax
TRAP [LIST]
TRAP [
trap-name
] [
option
]
Parameters
trap-name
Traps can be classified into several classes. The trap names for each class
are presented together. In general, this parameter specifies which trap to
arm, disarm, or list. Only enough characters to make the name
recognizable are required.
Hardware Traps
These are traps that are documented in the Precision Architecture Control
Document (ACD). They are trapped directly by the hardware.
BRANCH The BRANCH trap is the taken branch trap. Any time a
branch instruction is executed the debugger stops.
MPE/iX X-Traps
These traps correspond to the MPE/iX user intrinsics of similar name.
(Refer to the MPE/iX Intrinsics Reference Manual for descriptions of the
each of these traps.) By arming these traps, the debugger obtains control of
the process before the system trap mechanism. You may have the system
ignore the trap (pretend it never happened) or process it as if the debugger
had not been notified.
To have the trap ignored use the C[ontinue]IGNORE command.
Typing C[ontinue] or C[ontinue] NOIGNORE causes the trap subsystem
to process the trap as if Debug has not been notified.
XARITHMETIC The trap mask indicating the cause of the trap is
displayed.
XCODE The code trap number is displayed.
XLIBRARY Not implemented.
XSYSTEM Not implemented.
Refer to the MPE XL Intrinsics Reference Manual (32650-90028) for a
description of the format of the various trap masks and codes displayed by
Debug when one of the above traps is encountered.