I have a problem on my local variable, it's confusing for me to read it as hexadecimal. I want it to show as decimal, is there any way to fix this problem? Or gdb is the problem? I already searching around and i haven't see any way to fix this.
Try to configure gdb to display values in decimal format.
Print the value of myVar in decimal
> p /d myVar
Or, change the default number format in GDB to decimal
> set output-radix 10