title: eclipse cdt value not shown correctly during debug, always 0
body: <p>I am trying eclipse CDT out. But the eclipse is not showing the value of variables correctly. Both in the "Variables" window and "Expressions" window. </p>
  
  <p><a href="https://i.stack.imgur.com/xy34k.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/xy34k.png" alt="enter image description here"></a>
  But in the "Variables" window, value of <code>x</code> and <code>y</code> are both shown as 0. Where, the correct value should be 1 and 2.</p>
  
  <p><a href="https://i.stack.imgur.com/J4zVK.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/J4zVK.png" alt="enter image description here"></a></p>
  
  <p>Per the request from comment, here is the environment I run into the problem.</p>
  
  <ul>
  <li>MacOS Sierra (10.12.3)</li>
  <li>gdb 7.12.1 installed from brew</li>
  <li>Neon.1a Release (4.6.1)</li>
  </ul>