HP-UX Reference (11i v1 00/12) - 1 User Commands A-M (vol 1)

__________________________________________________________________________________________________________________________________________________________________________________________________
__________________________________________________________________________________________________________________________________________________________________________________________________
STANDARD Printed by: Nora Chuang [nchuang] STANDARD
/build/1111/BRICK/man1/!!!intro.1
________________________________________________________________
___ ___
a
adb(1) adb(1)
$r Print the general registers and the instruction addressed by the process counter. dot is
set to the process counter contents.
$s Set the limit for symbol matches to address. The default is system dependent.
$v Print all non-zero variables in the current radix.
$w Set the page width for output to address (default 80).
$x The default for all integers input is hexadecimal.
$z Print a list of signals and how they are handled. See :z for information on changing sig-
nal handling.
The available : commands manage subprocesses, and take the form :modifier:
:bc Set breakpoint at address. The breakpoint is executed count−1 times before causing a
stop. Each time the breakpoint is encountered, the command c is executed. If this com-
mand sets dot to zero, the breakpoint causes a stop.
:cs Continue the subprocess with signal s (see signal(5)). If address is given, the subprocess
continues at this address. If no signal is specified, the signal that caused the subprocess
to stop is sent. Breakpoint skipping is the same as for
:r.
:d Delete breakpoint at address. :d* deletes all breakpoints.
:e Set up a subprocess as in :r; no instructions are executed.
:k Terminate the current subprocess, if any.
:r Run objfil as a subprocess. If address is given explicitly, the program is entered at this
point; otherwise the program is entered at its standard entry point. The value count
specifies how many breakpoints are ignored before stopping. Arguments to the subpro-
cess may be supplied on the same line as the command. An argument starting with
< or
> causes the standard input or output to be established for the command. All signals are
turned on when entering the subprocess.
:ss As for c except that the subprocess is single stepped count times. If there is no current
subprocess, objfil is run as a subprocess as for
:r. In this case no signal can be sent; the
remainder of the line is treated as arguments to the subprocess.
:Ss Same as :c except that a temporary breakpoint is set at the next instruction. Useful for
stepping across subroutines.
:x a [b]... Execute subroutine a with parameters [b]...
:zd Change signal handlingfor a specified signal. Disposition d can be specified as:
+s Stop process when signal is received.
-s Do not stop process when signal is received.
+r Report when signal is received.
-r Do not report when signal is received.
+d Deliver signal to the target process.
-d Do not deliver signal to the target process.
For example, 0x10:z+d enables delivering of signal number 0x10 to the target pro-
cess. Use $z to display existing settings.
Variables
adb provides named and numbered variables. Named variables are set initially by adb but are not used
subsequently. Numbered variables are reserved for communication as follows:
0 The last value printed.
1 The last offset part of an instruction source.
2 The previous value of variable 1.
9 The count on the last $< command.
HP-UX Release 11i: December 2000 − 5 − Section 1−−7
___
___