Next: , Previous: Commands, Up: Kernel Debugger


11.3 Variables

The debugger accesses registers and variables as $name. Register names are as in the show registers command. Some variables are suffixed with numbers, and may have some modifier following a colon immediately after the variable name. For example, register variables can have u and t modifier to indicate user register and that of a default target thread instead of that of the current thread (e.g. $eax:tu).

Built-in variables currently supported are:

taskxx[.yy]
Task or thread structure address. xx and yy are task and thread identification numbers printed by a show all threads command respectively. This variable is read only.
thread
The default target thread. The value is used when t option is specified without explicit thread structure address parameter in command lines or expression evaluation.
radix
Input and output radix
maxoff
Addresses are printed as symbol+offset unless offset is greater than maxoff.
maxwidth
The width of the displayed line.
lines
The number of lines. It is used by more feature.
tabstops
Tab stop width.
argxx
Parameters passed to a macro. xx can be 1 to 10.
workxx
Work variable. xx can be 0 to 31.