User`s guide

137
Appendix C
C. Predefined dbx Variables
Predefined dbx variables are listed in Table C-1. The predefined variable
names begin with “$” so that they do not conflict with variable, command,
or alias names.
Table C-1 Predefined dbx Variables
Variable Default Description
$addrfmt “0x%x” Specifies the format for addresses. This can be
set to any format valid for the C language
printf(3S) function.
$addrfmt64 “0x%x” Specifies the format for 64-bit addresses. This
can be set to any format valid for the C
language printf(3S) function.
$assignverify Prints the new value of a variable after an
assign.
$casesense 2 If 0, symbol names are case sensitive. If 1,
symbol names are not case sensitive. If 2, the
case sensitivity of symbol names depends on
the case sensitivity of the language in which
the symbol was defined.
$ctypenames 1 If 1, the words “unsigned,” “short,” “long,”
“int,” “char,” “struct,” “union,” and “enum”
are keywords usable only in type casts. If 0,
“struct,” “union,” and “enum” are ordinary
words with no predefined meaning (in C
modules, the others are still known as C
types).
$curevent The last event number as seen by the status
command.
$curline The current line in the source code being
executed.