Same problem in trusty as well :! [Thread debugging using libthread_db enabled] Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1". Traceback (most recent call last): File "/usr/share/gdb/auto-load/usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.19-gdb.py", line 63, in <module> from libstdcxx.v6.printers import register_libstdcxx_printers ImportError: No module named 'libstdcxx' [New Thread 0x7fffede9c700 (LWP 63774)] [New Thread 0x7fffed69b700 (LWP 63775)] [New Thread 0x7fffece9a700 (LWP 63776)] [Thread 0x7fffece9a700 (LWP 63776) exited] [Thread 0x7fffede9c700 (LWP 63774) exited] [Thread 0x7fffed69b700 (LWP 63775) exited] [Inferior 1 (process 63741) exited normally]
-- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to gdb in Ubuntu. https://bugs.launchpad.net/bugs/921839 Title: gdb reports ImportError no module libstdcxx.v6.printers Status in gdb package in Ubuntu: Invalid Bug description: GDB attempts to use a python "pretty printer" and reports the following error: [Thread debugging using libthread_db enabled] Traceback (most recent call last): File "/usr/local/lib64/libstdc++.so.6.0.16-gdb.py", line 59, in <module> from libstdcxx.v6.printers import register_libstdcxx_printers ImportError: No module named libstdcxx.v6.printers [Inferior 1 (process 31059) exited normally] (gdb) GDB Version: GNU gdb (Ubuntu/Linaro 7.3-0ubuntu2) 7.3-2011.08 I found that by doing the following it fixes the problem: svn co svn://gcc.gnu.org/svn/gcc/trunk/libstdc++-v3/python gdb_printers mv gdb_printers /usr/local/etc cd ~ vi .gdbinit (copy & paste into .gdbinit) python import sys sys.path.insert(0, '/usr/local/etc/gdb_printers') from libstdcxx.v6.printers import register_libstdcxx_printers register_libstdcxx_printers (None) end To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/gdb/+bug/921839/+subscriptions -- Mailing list: https://launchpad.net/~touch-packages Post to : touch-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~touch-packages More help : https://help.launchpad.net/ListHelp