[Top]
[First]
[Previous]
[Next (
examining memory with 'x'
)]
[nexttoC]
print/<base>
It is useful to be able to print numbers in different bases (decimal, hex, octal, binary - see below):
(gdb) p i $2 = 567 (gdb) p/x i $3 = 0x237 (gdb) p/o i $4 = 01067 (gdb) p/t i $5 = 1000110111
Originally written by
guy keren