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

Table Of Contents
The -var-set-format command
Synopsis
-var-set-format name format-spec
Sets the output format for the value of the object name to be format-spec.
The syntax for the format-spec is as follows:
format-spec
{binary | decimal | hexadecimal | octal | natural}
The -var-show-format command
Synopsis
-var-show-format name
Returns the format used to display the value of the object name.
format
format-spec
The -var-info-num-children command
Synopsis
-var-info-num-children name
Returns the number of children of a variable object name:
numchild=n
The -var-list-children command
Synopsis
-var-list-children name
Returns a list of the children of the specified variable object:
numchild=n,children={{name=name,
numchild=n,type=type},(repeats N times)}
The -var-info-type command
Synopsis
-var-info-type name
Returns the type of the specified variable name. The type is returned as a string in the
same format as it is output by the GDB CLI:
type=typename
21.14 GDB/MI variable objects 357