The following sections describe the use of adb expressions. Decimal integers must begin with a non-zero decimal digit. Using Symbols in Expressions Symbols are the names of global variables and functions defined within the program being debugged.
Symbols are equal to the address of the given variable or function.
They are stored in the program symbol table and are available if the symbol table has not been stripped from the program file. In expressions, you can spell the symbol exactly as it is in the source program or as it has been stored in the symbol table. Symbols in the symbol table are no more than 8 characters long. Local variables can only be addressed if the C language source program is compiled with the -g flag. If the C language source program is not compiled using the -g flag the local variable cannot be addressed.