10 DEBUggEr
10.7.17 Other Commands
set output-radix
Operation
Changes the format of variables displayed in the source window, watch window, and local window and by the
print command.
The selectable formats are hexadecimal, decimal, octal, and binary. Once the format is changed, the setting will
be stored in memory (output-radix key in [global] section of gdbtk.ini). When the GDB is started up the next
time, variables will be displayed in the previously set format.
Note that the display format will not change if the variable has a floating decimal point or pointer.
Format
set output-radix Type
Type: Display format
16 = Hexadecimal
10 = Decimal (default)
8 = Octal
2 = Binary
Usage example
(gdb)print i
$1 = -21846
(gdb)set output-radix 16
(gdb)print i
$2 = 0xaaaa
(gdb)set output-radix 8
(gdb)print i
$3 = 0125252
10-134
(change of variable display format)
EPSOn
(C COMPilEr PaCkagE fOr S1C17 faMily) (Ver. 1.5.0)
[ICD Mini/SIM]
S5U1C17001C ManUal
Need help?
Do you have a question about the S5U1C17001C and is the answer not in the manual?