conditional watchpoint

View: New views
1 Messages — Rating Filter:   Alert me  

conditional watchpoint

by lehe :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi,
Is there anyway to set conditional watchpoint, like "watch var1 if var1==0"? In my case, the condition does't work. gdb stops whenever var1's value is changed, instead of untill "var1==0" is true. My gdb is GNU gdb 6.8-debian.

Thanks and regards!