【问题标题】:GDB 7.7 symbols error SHT_SYMTAB_SHNDXGDB 7.7 符号错误 SHT_SYMTAB_SHNDX
【发布时间】:2014-04-22 22:39:23
【问题描述】:

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

【问题讨论】:

    标签: c++ debugging gdb elf


    【解决方案1】:

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

    这是 gnu binutils 中的一个错误。你应该举报here

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2020-12-28
      • 1970-01-01
      • 2020-10-04
      • 1970-01-01
      • 1970-01-01
      • 2019-05-03
      相关资源
      最近更新 更多