I\'m getting this error when launching a program in gdb:
Using host libthread_db library \"/lib/x86_64-linux-gnu/libthread_db.so.1\".
Traceback (most recent
I'm posting this as an answer so it will be easier for others to find it. The comments from Mark Plotnick and webbertiger are the actual answer.
To summarize, here is what worked for me:
python sys.path.append("/usr/share/gcc-4.8/python");
to that fileI'm using Eclipse CDT so I checked that this file is being used in window > preferences > GDB > GDB command file.