2014-12-29 103 views
6

我是新来的汇编语言程序设计,我正在阅读这本书,由Jeff Duntemann逐步装配。他的一条指令是下载KDbg用于调试代码,但是当我尝试用kdbg启动代码时,此错误一次又一次地发生超过100次,我不知道它是什么。KDbg没有在ubuntu上运行/启动

Example: when i run my linked file ./ExampleProgram 
like this -> kdbg ExampleProgram i get the following error : 

MNG error 11: function is invalid at this point ; chunk MHDR; subcode 0:0 
MNG error 11: function is invalid at this point ; chunk MHDR; subcode 0:0 
MNG error 11: function is invalid at this point ; chunk MHDR; subcode 0:0 
MNG error 11: function is invalid at this point ; chunk MHDR; subcode 0:0 
MNG error 11: function is invalid at this point ; chunk MHDR; subcode 0:0 
MNG error 11: function is invalid at this point ; chunk MHDR; subcode 0:0 

有人可以帮我解决这个问题。我不熟悉汇编语言编程和gdb框架。我在virtualbox上使用Ubuntu。我搜索了互联网,找不到答案为什么KDbg没有运行。您的支持将受到高度赞赏。

+0

希望你已经安装工具KDbg从Ubuntu官方资料库,对不对? – Jester

+0

不,我没有使用管理器安装它 – user1254916

+0

版本库中的版本是保证与您的发行版一起使用的版本。安装它,看看你是否仍然有错误。 – Jester

回答

2

文件“pulse.mng”(kdbg用来显示程序正在运行的动画图像)不适用于当前版本的kdbg。好消息是,您可以轻松生成固定版本的文件,并提供了源.png图像来完成此操作(至少在Ubuntu 14.04中)。

find /usr/share -name "pulse.mng" 

更改到指定的目录,并生成一个固定的版本(more help here) ...

sudo convert pulse0000??.png pulse-fixed.mng 

更换旧“pulse.mng”你的新版本,或者它的链接。

这是同样的GIF,你可以替换为源convert使用: enter image description here

相关问题