title: What is needed to use gdb 7's support for debugging Python programs?
body: <p>I'd like to use gdb 7's support for debugging Python "inferior processes".</p>
  
  <p>What do I need to be able to do that?</p>
  
  <p>For example:</p>
  
  <ul>
  <li><p>What flags does the inferior Python's configure script need to have been run with?</p></li>
  <li><p>Does the inferior Python process have to be Python 2.7 or newer (I see that's when the part of the gdb support for this that's in Python source tree was committed)?  Or is Python 2.7 only needed by the gdb process itself?</p></li>
  <li><p>What files need to have been installed that might not be packaged by all distributions?  For example, on packages.ubuntu.com I don't get any hits for python-gdb.py, which I believe is needed.</p></li>
  </ul>
  
  <p>It would be very handy to know what's needed on particular distributions.  I am particularly interested in what's needed for Ubuntu and Centos.</p>