Python now bundles a script for >=sys-devel/gdb-7 (the one which supports python extensions). This is currently installed at /usr/share/doc/${PN}/examples/Tools/gdb/libpython.py but gdb expects it at /usr/share/gdb/auto-load/${soname}-gdb.py for it to be autoloaded. Symlinking to desired location works too, eg.: /usr/share/gdb/auto-load/usr/lib64/libpython2.7.so.1.0-gdb.py -> /usr/share/doc/python-2.7.3-r2/examples/Tools/gdb/libpython.py Reproducible: Always
*** Bug 460668 has been marked as a duplicate of this bug. ***
should be all set now in the tree; thanks for the report! Commit message: Install the python gdb module in the right place http://sources.gentoo.org/dev-lang/python/python-2.7.3-r3.ebuild?r1=1.11&r2=1.12 http://sources.gentoo.org/dev-lang/python/python-3.2.3-r2.ebuild?r1=1.12&r2=1.13 http://sources.gentoo.org/dev-lang/python/python-3.3.0-r1.ebuild?r1=1.8&r2=1.9