如何打印GDB设置的值?例如,如果我使用命令
set width 5
后来我想知道 width
width
print width print &width set width?
5 . 任何帮助都将不胜感激。
5
show width .
show width
(gdb) set width 100 (gdb) show width Number of characters gdb thinks are in a line is 100.