User`s guide

112
Appendix A: dbx Commands
!! Repeats the previous command. If the value of the dbx
variable $repeatmode is set to 1, then entering a carriage
return at an empty line is equivalent to executing !!. By
default, $repeatmode is set to 0.
!string Repeats the most recent command that starts with the
specified string.
!integer Repeats the command associated with the specified integer
in the history list.
!-integer Repeats the command that occurred integer times before the
most recent command. Entering !-1 executes the previous
command, !-2 the command before that, and so forth.
active [pid] Selects a process, pid, from dbx process pool as the active
process. If you do not provide a process ID, dbx prints the
currently active process ID.
addpgrp pid [ ... ]
Adds the process IDs specified to the group list. Only
processes in the process pool can be added to the group list.
addproc pid [ ... ]
Adds the specified process(es) to the pool of dbx controlled
processes.
address / count format
Prints the contents of the specified address or disassembles
the code for the machine instruction at the specified
address. Repeats for a total ofcount addresses in increasing
address—in other words, an examine forward command. The
format codes are listed in Table 7-2.
address ? count format
Prints the contents of the specified address or disassembles
the code for the machine instruction at the specified
address. Repeats for a total ofcount addresses in decreasing
address—in other words, an “examine backward”
command. The format codes are listed in Table 7-2.
address / count L value mask
Examinescount 32-bit words in increasing address and print
those 32-bit words which, when ORed with mask, equal
value. This command searches memory for specific patterns.