'info locals' will show that now "div" equals "value", spelling forthcoming trouble.
info locals'将显示目前“div ”等于“value ”,这就意味着将发生问题。
An 'info locals' command will verify that "value" is indeed equal to "div" (8 again).
'info locals '命令将验证“value ”是否确实等于“div ”(再次声明,是8)。
Happily GDB will show the value of all local variables and save a lot of typing with the 'info locals' command.
幸好,gdb将显示所有局部变量的值,并使用'info locals '命令保存大量输入信息。
When you issue the 'info locals' command GDB actually prints out variables local to the current frame, which by default is where the interrupted function is (frame 0).
实际上,发出'info locals '命令时,gd b会打印出当前帧中的局部变量,缺省情况下,这个帧中的函数就是被中断的函数(0号帧)。
When you issue the 'info locals' command GDB actually prints out variables local to the current frame, which by default is where the interrupted function is (frame 0).
实际上,发出'info locals '命令时,gd b会打印出当前帧中的局部变量,缺省情况下,这个帧中的函数就是被中断的函数(0号帧)。
应用推荐