Previous: Variables, Up: Kernel Debugger [Contents][Index]
Almost all expression operators in C are supported except ~,
^, and unary &. Special rules in ddb are:
identifiername of a symbol. It is translated to the address(or value) of it.
. and : can be used in the identifier. If supported by
an object format dependent routine,
[file_name:]func[:line_number]
[file_name:]variable, and
file_name[:line_number] can be accepted as a symbol. The
symbol may be prefixed with symbol_table_name:: like
emulator::mach_msg_trap to specify other than kernel symbols.
numberradix is determined by the first two letters:
0xhex
0ooctal
0tdecimal
otherwise, follow current radix.
.dot
+next
..address of the start of the last line examined. Unlike dot or next,
this is only changed by examine or write command.
ยดlast address explicitly specified.
$variableregister name or variable. It is translated to the value of it. It may
be followed by a : and modifiers as described above.
amultiple of right hand side.
*exprindirection. It may be followed by a : and modifiers as
described above.