Native Inspect Manual (H06.03+)

Table Of Contents
Syntax of Native Inspect Commands
Native Inspect Manual528122-003
3-47
mab command
mab command
Sets a memory access breakpoint (MAB) for the current process. For each process
being debugged you can set one MAB.
You can define a low-level conditional expression, but not a high-level condition or
commands to execute, with a MAB. A MAB suspends the process each time the
memory location is accessed in the specified manner (read, write, change).
Entered with no arguments, the MAB command lists information about the current
memory access breakpoint. The MAB is not listed by the info break command.
Related Command: Use the dmab command to delete a memory access breakpoint.
*native-address
is a 32-bit or 64-bit address on the TNS/E system. If you specify a *native-
address, you must also include size.
variable
is the name of a variable in the current process on which you want to set a memory
access breakpoint. If you specify a variable, then size is optional.
size
is an optional number of bytes if you specify a variable. By default, Native
Inspect uses the size of the variable as the address range to watch.
If you specify *native-address, you must also specify size.
The range over which a MAB is set (that is, native-address + size) cannot
exceed a 16K-page boundary.
flags
is one of:
-c specifies change access; triggers beakpoint when the value changes
-g specifies a global MAB; can be set only when privileged debugging is
enabled. See Global Debugging on page 1-17. You can specify both the
-g and -h flags.
-h
indicates a halt loop breakpoint, which can only be set by the super ID user
after issuing the priv command. Both the -g and -h flags can be set at once
by the super ID user.
mab [ {*native-address | variable} [size][flags] [-e llce] ]