专注收集记录技术开发学习笔记、技术难点、解决方案
网站信息搜索 >> 请输入关键词:
您当前的位置: 首页 > Linux/Unix

gdb 不可识别的文件格式解决思路

发布时间:2011-06-27 17:44:05 文章来源:www.iduyao.cn 采编人员:星星草
gdb 不可识别的文件格式
root@zjr-virtual-machine:/home/zjr/lim-omx-1.0/limoa/test# gdb ./player
GNU gdb (Ubuntu/Linaro 7.3-0ubuntu2) 7.3-2011.08
Copyright (C) 2011 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
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 "i686-linux-gnu".
For bug reporting instructions, please see:
<http://bugs.launchpad.net/gdb-linaro/>...
"/home/zjr/lim-omx-1.0/limoa/test/player": not in executable format: 不可识别的文件格式


如上所示:gdb调试player这个可执行文件时(参数加了-g的),不能识别,同样其它的可执行文件也是不能识别的。

------解决方案--------------------
你用file +可执行程序名 看一下,结果是啥?

------解决方案--------------------
有可能是一个脚本文件,二进制文件在隐藏目录下,找到真正的二进制文件调试
友情提示:
信息收集于互联网,如果您发现错误或造成侵权,请及时通知本站更正或删除,具体联系方式见页面底部联系我们,谢谢。

其他相似内容:

热门推荐: