title: GDB: How to remove a variable from the auto display
body: <p>I stumbled upon the auto-display functionality of gdb, which is pretty powerful and convenient. After calling</p>
  
  <pre><code>(gdb) display/i $pc
  (gdb) display $rax
  </code></pre>
  
  <p>the watched values are displayed automatically after every step: </p>
  
  <pre><code>(gdb) si
  0x0804805e in print_loop_start ()
  2: $rax = 0
  1: x/i $pc
  =&gt; 0x804805e &lt;print_loop_start+6&gt;:  mov    0x4(%ebp,%eax,4),%ecx
  </code></pre>
  
  <p>But how can I "unwatch" the value in $rax, if it is no longer of interest?</p>