Chinaunix首页 | 论坛 | 博客
  • 博客访问: 1394433
  • 博文数量: 343
  • 博客积分: 13098
  • 博客等级: 上将
  • 技术积分: 2862
  • 用 户 组: 普通用户
  • 注册时间: 2005-07-06 00:35
文章存档

2012年(131)

2011年(31)

2010年(53)

2009年(23)

2008年(62)

2007年(2)

2006年(36)

2005年(5)

分类: LINUX

2008-05-29 11:42:24

While debuging a remote multithread program by means of gdb/gdbserver, frequently I see gdb complaints like this:
 
Program received signal SIG32, Real-time event 32.
0x400d7e84 in ?? ()
(gdb)
Then gdb is suspended to wait for new commands, and on this occasion, typing 'c' can make the debuging continue. But instruction 'info threads' can not list correct information.
 
In fact, this results from stripped libpthread/libthread_db, which can be easily verified by means of '/usr/bin/file'. To remove the problem, simply refer the libs to unstripped versions via gdb instructions like:
 
set solib-absolute-prefix [dir]
set solib-search-path [dir1];[dir2]
阅读(2134) | 评论(0) | 转发(0) |
给主人留下些什么吧!~~