Unable to debug multi-threaded application on gdb
I am trying to debug a multi-threaded application for the first time. My specifications are ubuntu 13.10 and gdb 7.6.1.
The warning that I am getting is :
warning: Unable to find libthread_db matching inferior's thread library, thread debugging will not be available.
I read on a different website that GDB needs a version of libthread_db.so.1 that matches your libpthread.so.0, and is not finding such version.
Therefore, My libthread_db is in the path /lib/x86_64-linux-gnu/libthread_db.so.1 and the inferior thread library is in path /lib/x86_64-linux-gnu/libpthread.so.0
But How can I match these library versions? If that is the problem
Awaiting for your response