Discussion:
请教一个关于gdb的问题
(时间太久无法回复)
Buzzard
2005-12-01 05:56:58 UTC
Permalink
在 Tue, 29 Nov 2005 21:39:50 +0800 时, snnn
我用gdb调试我写的程序
但是总是无法设置断点
出现如下错误
warning: Unable to get location for thread creation breakpoint: generic error
[New LWP 100133]
Cannot find thread, Thread ID=1, generic error
你调试的是多线程的程序么?
--
Xiaodong Xu
2006-01-15 14:20:01 UTC
Permalink
我用gdb调试我写的程序
但是总是无法设置断点
出现如下错误
warning: Unable to get location for thread creation breakpoint: generic error
[New LWP 100133]
Cannot find thread, Thread ID=1, generic error
--
艰苦奋斗,实事求是,解放思想,与时俱进
编译的时候没有加 -g 参数?
snnn
2006-02-14 04:42:26 UTC
Permalink
Post by Xiaodong Xu
我用gdb调试我写的程序
但是总是无法设置断点
出现如下错误
warning: Unable to get location for thread creation breakpoint: generic error
[New LWP 100133]
Cannot find thread, Thread ID=1, generic error
--
艰苦奋斗,实事求是,解放思想,与时俱进
编译的时候没有加 -g 参数?
加了。
--
如果上帝只有一只耳朵...
Loading...