gdb 7.10 中的 Python 异常错误

A Python Exception error in gdb 7.10

我已经按照 this 答案中的详细说明,通过从源代码编译在 Ubuntu 14.04 下安装了 gdb 7.10(唯一的例外是我将可执行文件复制到 /usr/bin 中) .当我在 gdb 中执行命令时,出现以下错误:

Python Exception <type 'exceptions.NameError'> Installation error: gdb.execute_unwinders function is missing: 

我该怎么做才能摆脱它?

What can I do to get rid of it?

GDB 想要安装 更多 而不仅仅是 GDB 二进制文件。要进行完整安装,请删除 /usr/bin/gdb 并执行 make install.