- 论坛徽章:
- 0
|
原帖由 wuliang_227 于 2007-11-26 15:39 发表
各位大侠好:
小弟我想用gdb调试一个.so的动态库,但始终失败,请问这是一个怎么回事呢?
(gdb) load mylib.so
BFD: mylib.so: warning: sh_link not set for section `.ARM.exidx'
Loading sectio ...
sh_link是elf文件section头部中的一个字段。
sh_link This member holds a section header table index link, whose interpretation depends
on the section type. A table below describes the values.
.ARM.exidx是你的动态库中的一个section的名字。
BFD: mylib.so: warning: sh_link not set for section `.ARM.exidx' 错误的原因在gdb源代码中的注释是:
The Intel C compiler generates SHT_IA_64_UNWIND with SHF_LINK_ORDER.
But it doesn't set the sh_link or sh_info fields.
没调过动态库。。。 |
|