See comment 14 on #952999 for a workaround edit https://bugs.launchpad.net/ubuntu/+source/gdb/+bug/c/comments/14
-- 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