Using the History Feature and the History Editor
21
Listing
dbx
Variables
If you enter the set command without providing any arguments, dbx
displays (in alphabetical order) a list of all currently defined dbx variables,
including predefined variables. Partial output looks like this:
(dbx) set
$addrfmt “0x%x”
$addrfmt64 “0x%llx”
$assignverify 1
$casesense 2
$ctypenames 1
$curevent 3
$curline 44
$curpc 268439708
...
$stacktracelimit 1024
$stdc 0
$stepintoall 0
$tagfile “tags”
Removing Variables
The unset command removes a dbx variable. For example, to delete the
variable $k, enter:
(dbx) unset $k
Using the History Feature and the History Editor
The dbx history feature is similar to the C shell’s history feature in that it
allows you to repeat commands that you have entered previously. However,
unlike the C shell’s history feature, dbx does not allow you to execute a
history command anywhere except the beginning of a line. Also, dbx does
not support history substitution of command arguments such as the C shell
!$ argument.
Comments to this Manuals