我试图用一个多线程的项目(使用了libevent)7.3.1 GDB的反向调试功能,但我得到了以下错误:如何在多线程程序上启用反向调试?
(gdb) reverse-step
Target multi-thread does not support this command.
从this question,我想也许这是一个问题加载libthread_db所,但是,当我运行该程序,GDB说:
Starting program: /home/robb/slug/slug
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/libthread_db.so.1".
我怎样才能在一个多线程的项目能够使用gdb 7.3.1逆向调试?可能吗?
存在一个[链接](http://stackoverflow.com/questions/6625486/reverse-step-multithread-error)在这里过类似的问题。 – Martin
是的,我知道,我自己与这个问题有关。 – rps