Next: , Previous: , Up: Dot-Commands   [Contents][Index]


12.11 .set

The .set command allows you to inspect and set the value of global settings. The syntax is:

.set setting [value]

where setting is an identifier identifying the setting to inspect or modify. If value is specified, then it is the new value for the setting. If value is not specified the current value of the setting is displayed.

The following settings can be handled with .set:

endian

Byte endianness that will be used when mapping the IO space. Valid values are big, little and host. The default endianness is big endian.

obase

Numeric base to be used when displaying values in the REPL and in printf statements using the %v format tag. Valid values are 2, 8, 10 and 16. Default value is 10.

pretty-print

Flag indicating whether pretty-printers shall be used when printing values in the REPL and in printf statements using the %v format tag. Valid values are yes and no. Default value is no.

error-on-warning

Flag indicating whether handling compilation warnings as errors. Default value is no.

omode

It defines the way the binary struct data is displayed. In flat mode data is not formatted in any special way. In tree mode the struct data is displayed in a hierarchical (tree) mode.

odepth

In tree and flat mode the struct fields are recursively displayed up to the depth-th level. The default value 0 means no limit.

oindent

Number defining the number of spaces used for indentation for each level. Only values >=1 and <= 10 are valid. Default value is ’2’.

oacutoff

When displaying an array as struct field, display only the elements up to the cutoff index and display after that. Value of 0 means no limit. This cutoff value is not used when directly displaying arrays content.

omaps

Flag indicating whether including mapping information when printing out mapped values.


Next: , Previous: , Up: Dot-Commands   [Contents][Index]