gdb 7.10中的Python异常错误 [英] A Python Exception error in gdb 7.10

查看:1578
本文介绍了gdb 7.10中的Python异常错误的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

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

I have installed gdb 7.10 under Ubuntu 14.04 by compiling from the source as detailed in this answer (with the only exception that I copied the executable into /usr/bin). When I execute commands in gdb, I get the following error:

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

我能做些什么来摆脱它?

What can I do to get rid of it?

推荐答案


我可以做些什么来摆脱它?

What can I do to get rid of it?

GDB希望安装 more 而不仅仅是GDB二进制文件。要完成安装,请删除 / usr / bin / gdb 并执行 make install

GDB wants to install more than just the GDB binary. To make a complete installation, remove /usr/bin/gdb and do make install.

这篇关于gdb 7.10中的Python异常错误的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆