Ubuntu-1404 GDB 调试C++报错

问题

Ubuntu1404下,当用GDB调试C++程序时,报错ImportError: No module named 'libstdcxx'

解决办法

vim ~/.gdbinit

#~/.gdbinit
python sys.path.append("/usr/share/gcc-4.8/python")

 

posted @ 2016-03-30 13:23  loadofleaf  Views(256)  Comments(0Edit  收藏  举报