GDB 7.7符号错误SHT_SYMTAB_SHNDX

时间:2014-04-22 08:14:58

标签: c++ debugging gdb elf

我们已将C编译器升级到4.5.3,并且在尝试在solaris上调试服务器二进制文件时遇到问题(在linux rhel5和AIX 6.1上正常工作)

以下是调试尝试的日志。任何帮助,将不胜感激。

-bash-3.00$ gdb myServer
Python Exception exceptions.ImportError No module named gdb:

warning:
Could not load the Python gdb module from `/usr/local/share/gdb/python'.
Limited Python support is available from the _gdb module.
Suggest passing --data-directory=/path/to/gdb/data-directory.

GNU gdb (GDB) 7.7
Copyright (C) 2014 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later 
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.  Type "show copying"
and "show warranty" for details.
This GDB was configured as "sparc-sun-solaris2.10".
Type "show configuration" for configuration details.
For help, type "help".
Type "apropos word" to search for commands related to "word"...
BFD: BFD (GNU Binutils) 2.24.51.20140206 assertion fail elf.c:1727
Reading symbols from myServer...BFD: /data3/develop/myServer symbol number 7 references nonexistent SHT_SYMTAB_SHNDX section
Can't read symbols from /data3/develop/myServer: Invalid operation
(gdb)

1 个答案:

答案 0 :(得分:0)

  

BFD:BFD(GNU Binutils)2.24.51.20140206断言失败elf.c:1727

这是gnu binutils中的一个错误。您应该报告here