We had to continue program execution twice to get to this point, however by setting a condition on the breakpoint we can make gdb halt only when "value" actually equals "div".
我们必须继续执行两次程序才会发生这种情况,但是只要在断点上设置一个条件就可以使gdb只在 "value" 与 "div"真正相等时暂停。
We had to continue program execution twice to get to this point, however by setting a condition on the breakpoint we can make gdb halt only when "value" actually equals "div".
我们必须继续执行两次程序才会发生这种情况,但是只要在断点上设置一个条件就可以使gdb只在 "value" 与 "div"真正相等时暂停。
应用推荐