title: How do I set persistent and conditional watchpoints on locally scoped variables?
body: <ol>
  <li><p>If I set a watchpoint for a variable local to the current scope, it will be auto deleted when going out of the scope. Is there any way to set it once and keep it auto alive whenever entering the same scope?</p></li>
  <li><p>Is there anyway to set conditional watchpoint, like <code>watch var1 if var1==0</code>? In my case, the condition does't work. gdb stops whenever <code>var1</code>'s value is changed, instead of untill <code>var1 == 0</code> is true. My gdb is GNU gdb 6.8-debian.</p></li>
  </ol>