Same bug in quantal. I fixed it locally on my machine by making a
symlink:

cd /usr/lib/debug/usr
sudo ln -s ../../../share/ share

looks like the python scripts included with libstdcxx for autoloading
the pretty printers (libstdc++.so.6.0.17-gdb.py) expects itself in
/usr/lib/x86_64-linux-gnu (same folder as the DSO that is loaded). From
there it constructs a relative path to the base folder of the
prettyprinters (/usr/share/gcc-4.7/python).

Unfortunately, in Ubuntu the autoload script is actually located here:
/usr/lib/debug/usr/lib/x86_64-linux-gnu. The symlink makes the base
folder appear in that path, too.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/952999

Title:
  gdb crashed with ImportError in /usr/lib/debug/usr/lib/i386-linux-
  gnu/libstdc++.so.6.0.16-gdb.py: No module named libstdcxx.v6.printers

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/gdb/+bug/952999/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to