Chinaunix

标题: 如何在gdb下调试多线程? [打印本页]

作者: cuptbluesky    时间: 2005-04-21 19:37
标题: 如何在gdb下调试多线程?
为什么调试时,只要其中一个线程退出后,gdb就无法再继续调试了呢?环境是solaris 9 intel,gcc 3.4.2,gdb 6.0,pthread,提示信息:sol_thread_fetch_registers: td_ta_map_id2thr: no thread can be found to satisfy query,请问有人碰到过这种情况吗?或者你们又是如何调试的呢?




欢迎光临 Chinaunix (http://bbs.chinaunix.net/) Powered by Discuz! X3.2