[Bug 883269] Re: libstdc++6-*-dbg doesn't contain gdb Python hook
Launchpad Bug Tracker
883269 at bugs.launchpad.net
Wed Dec 7 08:35:11 UTC 2011
This bug was fixed in the package gcc-4.5 - 4.5.3-10ubuntu1
---------------
gcc-4.5 (4.5.3-10ubuntu1) precise; urgency=low
* Merge with Debian.
gcc-4.5 (4.5.3-10) unstable; urgency=low
* Update to SVN 20111206 (r182040) from the gcc-4_5-branch.
- Fix PR c/50565, PR target/49965, PR target/50464, PR target/50091,
PR c++/44473, PR fortran/50659, PR fortran/50273, PR target/51393,
PR debug/48190, PR rtl-optimization/51187, PR target/30282,
PR target/50979, PR target/50875, R target/50691, PR target/50788,
PR target/50737, PR c++/50793, PR c++/50618, PR bootstrap/50888,
PR target/50737.
* For ARM hard float, set the dynamic linker to
/lib/arm-linux-gnueabihf/ld-linux.so.3.
* Install the libstdc++.so-gdb.py file. LP: #883269.
* Update the Linaro support to the 4.5-2011.12 release.
-- Matthias Klose <doko at ubuntu.com> Tue, 06 Dec 2011 13:05:02 +0100
** Changed in: gcc-4.5 (Ubuntu)
Status: New => Fix Released
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to gcc-4.5 in Ubuntu.
https://bugs.launchpad.net/bugs/883269
Title:
libstdc++6-*-dbg doesn't contain gdb Python hook
Status in “gcc-4.4” package in Ubuntu:
New
Status in “gcc-4.5” package in Ubuntu:
Fix Released
Status in “gcc-4.6” package in Ubuntu:
New
Bug description:
libstdc++6-4.6-dbg and other -dbg packages for libstdc++ include the
new Python pretty printers for debugging STL classes under gdb.
However, they don't get loaded automatically, and require manually
modifying gdb's python's sys.path.
The gcc-snapshot package contains /usr/lib/gcc-
snapshot/lib/libstdc++.so.6.0.17-gdb.py, which causes the pretty
printers to get autoloaded whenever gdb attaches to a process that
links /usr/lib/gcc-snapshot/lib/libstdc++.so.6.0.17.
libstdc++6-4.6-dbg appears to lack this file (which can go either next
to the original library or next to the debug symbols under
/usr/lib/debug), as do the -dbg packages for libstdc++ in other gcc
versions available.
In the gcc source packages, the gdb autoload file is generated in
src/libstdc++-v3/python. The Makefile installs it next to the library,
but I can't follow the gcc packaging well enough to suggest a patch
for non-snapshot builds.
The pretty printers make a huge difference in debugging C++ code that
uses STL containers. It would be very helpful if these were loaded by
default for non-snapshot builds of gcc.
For other examples of auto-loaded debugging code, see python2.7-dbg
(/usr/lib/debug/usr/lib/libpython2.7.so.1.0-gdb.py) and libglib2.0-dev
(/usr/share/gdb/gdb/auto-load/libglib-2.0.so.0.3000.0-gdb.py and
libgobject-2.0.so.0.3000.0-gdb.py)
ProblemType: Bug
DistroRelease: Ubuntu 11.10
Package: libstdc++6-4.6-dbg 4.6.1-9ubuntu3
ProcVersionSignature: Ubuntu 3.0.0-12.20-generic 3.0.4
Uname: Linux 3.0.0-12-generic x86_64
ApportVersion: 1.23-0ubuntu3
Architecture: amd64
CheckboxSubmission: d27dbc9ce66475289526ca4b283ec487
CheckboxSystem: bb422ca46d02494cdbc459927a98bc2f
Date: Fri Oct 28 13:39:36 2011
InstallationMedia: Ubuntu 11.04 "Natty Narwhal" - Release amd64 (20110427.1)
SourcePackage: gcc-4.6
UpgradeStatus: Upgraded to oneiric on 2011-09-18 (40 days ago)
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/gcc-4.4/+bug/883269/+subscriptions
More information about the foundations-bugs
mailing list