How to make gdb print out all values in hexadecimal mode?

前端 未结 1 916
逝去的感伤
逝去的感伤 2020-12-09 08:26

By default, gdb always prints/displays all variables / arguments in base 10. Is there any way to ask gdb to always use base 16 while printing anything (and turn back to defa

相关标签:
1条回答
  • 2020-12-09 08:57

    set output-radix 16 (and set output-radix 10 to switch it back).

    0 讨论(0)
提交回复
热议问题