Debugging with GDB Manual (5900-1473; WDB 6.2; January 2011)

Table Of Contents
The -var-info-expression command
Synopsis
-var-info-expression name
Returns what is represented by the variable object name:
lang=lang-spec,exp=expression
where lang-spec is {"C" | "C++" | "Java"}.
The -var-show-attributes command
Synopsis
-var-show-attributes name
List attributes of the specified variable object name:
status=attr [ ( ,attr )* ]
where attr is { { editable | noneditable } | TBD }.
The -var-evaluate-expression command
Synopsis
-var-evaluate-expression name
Evaluates the expression that is represented by the specified variable object and returns
its value as a string in the current format specified for the object:
value=value
The -var-assign command
Synopsis
-var-assign name expression
Assigns the value of expression to the variable object specified by name. The object
must be 'editable'.
The -var-update command
Synopsis
-var-update {name | "*"}
Update the value of the variable object name by evaluating its expression after fetching
all the new values from memory or registers. A '*' causes all existing variable objects
to be updated.
358 The GDB/MI Interface