Currently, when I print the value of a variable v
in GDB (print v
) I get an integer.
Is it possible to have GDB print such integer variables in hexadecimal or binary?
graph disp /x val1
. Beware you should put space before /x
. otherwise it doesn't work.