HP-UX Reference (11i v2 03/08) - 1 User Commands A-M (vol 1)
a
adb(1) adb(1)
en [ num | * ]
Enables all breakpoints at address in the current subprocess, if it is specified. If
* is
specified, it enables all the current subprocess breakpoints. If num is specified, break-
point with number num is enabled.
di [ num | * ]
Disables all breakpoints at address in the current subprocess, if it is specified. If
* is
specified, it disables all the current subprocess breakpoints. If num is specified, break-
point with number num is disabled.
z signum [ +s | -s | +r | -r | +d | -d ]
Changes signal handling for a specified signum for all the threads of the current sub-
process. Disposition can be specified as:
+s Stop subprocess when signum is received.
-s Do not stop subprocess when signum is received.
+r Report when signum is received.
-r Do not report when signum is received.
+d Deliver signum to the target subprocess .
-d Do not deliver signal to the target subprocess .
w [ pid ] Switches from the current subprocess to the subprocess with process ID pid. This pro-
cess becomes the current subprocess. This subprocess must be an already attached or
created subprocess. Both subprocesses are in stopped state after this command.
wc [ pid ]Sameas
w however the previous current subprocess is not stopped.
Thread Commands
These commands manage the threads in the current subprocess. The command consists of a
] followed
by a modifier and an optional argument list.
s [ signum ]Sameas
:s. However it is strictly for the current thread only.
c [ signum ]Sameas
:c. However it continues only the current thread. And count refers to the
breakpoint to skip for the current thread.
b [ command ]Sameas
:b. However it applies to the current thread only.
d [ num | * ]Sameas
:d. However it applies to current thread only.
en [ num | * ]Sameas
:en. However it applies to the current thread only.
di [ num | * ]Sameas
:di. However it applies to the current thread only.
z signum [ +s | -s | +r | -r | +d | -d ]
Same as
:z. However it is meant for the current thread only. If a signum occurs in the
context of this thread this disposition value is used instead of that of the subprocess.
es [ signum ] Sets the flag for this signum for the current thread. It means that if this signal signum
occurs in the context of this thread’s signal disposition value is used instead of that of the
subprocess.
w [ pid ] Switch from the current thread to some other thread. Both the threads are in stopped
state after this, and the thread with threadid becomes the current thread. This com-
mand is also applicable to core file debugging. It switches from present thread to given
thread and makes the given thread as the current thread.
Shell Commands
This action consists of a ! character followed by a string. The string is passed unchanged to the shell
defined by the SHELL environment variable or to /bin/sh.
Variable Commands
This is supported in backward compatibility mode only. It consists of a
> followed by a variable , var and
an optional value . This action assigns value to the variable or register named by var.
If not specified, value is assumed to be the value of
dot. This behavior is deprecated.
Section 1−−8 Hewlett-Packard Company − 6 − HP-UX 11i Version 2: August 2003