User`s guide
142
Appendix C: Predefined dbx Variables
$procaddr This variable applies only if you invoke dbx
with the -k option (that is, it is not available
unless you are doing kernel debugging).
Whenever $pid is set, dbx sets $procaddr to the
address of the process table entry for that
process.
$prompt dbx The prompt for dbx.
$promptonfork 0 If 0, dbx does not add the child process to the
process pool. Both the child process and the
parent process continue to run.
If 1, dbx stops the parent process and asks if
you want to add the child process to the
process pool. If you answer yes, thendbx adds
the child process to the pool and stops the
child process; if you answer no,dbx allows the
child process to run and does not place it in
the process pool.
If 2, dbx automatically stops both the parent
and child processes and adds the child
process to the process pool.
$regstyle 0 If 0, dbx uses the alternate form of the register
name (for example, “zero” instead of “r0” and
“t1” instead of “r9”). If nonzero, dbx uses the
machine name (“r0” through “r31”).
$repeatmode 0 If nonzero, entering a null line (entering a
newline on an empty line) repeats the last
command. If 0, dbx performs no action.
$rimode 0 If 1, dbx records commands you enter in
addition to output when using the record
output command. If 0, dbx does not copy the
commands.
Table C-1 (continued) Predefined dbx Variables
Variable Default Description