title: Upgrading gdb for use in Qt Creator
body: <p>The latest version of Qt installs gdb version 7.1. This has an annoying bug: it evaluates certain perfectly valid expressions as <code>&lt;unavailable synchronous data&gt;</code>. Apparently this has been fixed in gdb version 7.2, so I downloaded the latest gdb.exe and copied it to <code>Qt\pythongdb\gdb-i686-pc-mingw32.exe</code>. Alas, this was not a success: enums were evaluated as <code>&lt;anonymous enum&gt;</code> instead of (say) <code>myHelpfulEnumVal</code>, and <code>(void*)p</code> was evaluated as <code>void*</code> instead of (say) <code>cbf56e0</code>. So I reverted to gdb version 7.1.<br>
  Does anybody know what else I have to do to integrate gdb 7.2 with Qt Creator? Or is it simply not implemented yet?<br>
  I am using minGW under Windows 7.</p>
  
  <p><strong>Update</strong> I have done as Stephen Chu suggests, and am now using Qt Creator 2.2 with gdb 7.2. It seems to work fine. But I had to work out how to tell Qt Creator where to find gdb, because the way to do this has changed: Go to <code>Tools -&gt; Options -&gt; Tool Chains</code>. You should see (at least, I did, using mingw under Windows) an <code>Auto-detected</code> list and a <code>Manual</code> list. The <code>Manual</code> list contains a single item:  </p>
  
  <p><code>MinGW from Simulator Qt for MinGW 4.4 (Qt SDK)</code>  </p>
  
  <p>Click on this, and you can enter the path to <code>gdb</code> in the <code>Debugger:</code> field. In my case, this is</p>
  
  <p><code>C:\Qt\qtcreator-2.1.81\pythongdb\gdb-i686-pc-mingw32.exe</code></p>
  
  <p>HTH</p>