title: gdb: No symbol "i" in current context
body: <p>While debugging a C program in gdb I have a breakpoint in a for loop. I cannot print the value of "i" ( I get : No symbol "i" in current context.). I can print the value of all the other variables. Is it normal?</p>
  
  <p>Here is the loop:  </p>
  
  <pre><code>for (i=0; i &lt; datasize; i++){  
      if ( feature_mask[i] &gt; 0 ){  
          k = feature_mask[i] - 1;  
          if (neighbors[k][nmax-1] != 0){
              neighbors[k][nmax-1] = bvalue;  
              feature_mask[i] = -feature_mask[i];
          }
      }
  }
  </code></pre>