@ Tuxist Thank you so much ~ I tried many methods from stackoverflow ,but it didn't work.
You rescued me -- 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/1010126 Title: gdb is missing python files for C++ pretty printing (libstdcxx.v6.printers) Status in gdb package in Ubuntu: Fix Released Bug description: On a fairly fresh 12.04 install: tfogal@shigeru $ gdb -q ./a.out Reading symbols from /home/tfogal/tmp/c++/a.out...done. (gdb) r Starting program: /home/tfogal/tmp/c++/a.out Traceback (most recent call last): File "/usr/lib/debug/usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.16-gdb.py", line 62, in <module> from libstdcxx.v6.printers import register_libstdcxx_printers ImportError: No module named libstdcxx.v6.printers That's the only .py file: tfogal@shigeru $ find /usr/lib/debug -iname \*py /usr/lib/debug/usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.16-gdb.py ProblemType: Bug DistroRelease: Ubuntu 12.04 Package: gdb 7.4-2012.04-0ubuntu2 ProcVersionSignature: Ubuntu 3.2.0-24.39-generic 3.2.16 Uname: Linux 3.2.0-24-generic x86_64 NonfreeKernelModules: nvidia ApportVersion: 2.0.1-0ubuntu8 Architecture: amd64 Date: Thu Jun 7 11:28:49 2012 InstallationMedia: Ubuntu 12.04 LTS "Precise Pangolin" - Release amd64 (20120425) ProcEnviron: TERM=xterm PATH=(custom, user) LANG=en_US.UTF-8 SHELL=/bin/bash SourcePackage: gdb UpgradeStatus: No upgrade log present (probably fresh install) To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/gdb/+bug/1010126/+subscriptions -- Mailing list: https://launchpad.net/~touch-packages Post to : [email protected] Unsubscribe : https://launchpad.net/~touch-packages More help : https://help.launchpad.net/ListHelp

