title: Debugging C++11 rvalue references with gdb
body: <p>I just noticed that I can not debug <strong>rvalue</strong> references with <code>gdb-7.7.1</code> properly. </p>
  
  <pre><code>void simple(int &amp;&amp;i) {}
  </code></pre>
  
  <p>When I enter this minimalistic function I can not obtain any meaningful information about <code>i</code>. It's <strong>type</strong> and <strong>value</strong> are <strong>unknown</strong> to <code>gdb</code>.</p>
  
  <pre><code>simple(int&amp;&amp;) (i=&lt;unknown type in /tmp/test, CU 0x0, DIE 0xcd78&gt;) at test.cpp:10
  (gdb) p i
  $2 = &lt;unknown type in /tmp/test, CU 0x0, DIE 0xcd78&gt;
  </code></pre>
  
  <p>Am I doing something wrong? Are there any sensible workarounds? Will upgrading to <code>gdb-7.10</code> solve this <em>issue</em>?</p>