gdb and pthread

February 19, 2010 at 09:33 PM | categories: tips | View Comments

Error message translation time. Here's an error gdb gave me today:

[Thread debugging using libthread_db enabled]             
Cannot find new threads: generic error

Translation: Programs that use pthread functions should really be linked with the -lpthread option.