GDB 7.7符号错误SHT_SYMTAB_SHDX

GDB 7.7 symbols error SHT_SYMTAB_SHNDX

本文关键字:SYMTAB SHDX 错误 符号 GDB SHT      更新时间:2023-10-16

我们已经将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)

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

这是gnu-binutils中的一个错误。你应该在这里报告。