GdbMiSession.varSetFormat

MiPendingCommand varSetFormat(string name, string fmt) @trusted

Sets the output format for a variable object.

Parameters

nameVariable object name.
fmtFormat (e.g. "binary", "decimal", "hexadecimal", "octal", "natural").

Returns

A pending command for -var-set-format.

Example:

session.varSetFormat("var1", "hexadecimal");