gdb又一问!watch i==50
程序中有个变量i
我需要当i == 50 的时候 程序停下来
在gdb时我输入watch i == 50
显示Watchpoint 2: i == 50
没问题
但当run
后
却出现了
Watchpoint 4 deleted because the program has left the block in
which its expression is valid.
0x4000a181 in _dl_runtime_resolve () from /lib/ld-linux.so.2
为什么? 大虾给个指教