GDB 引起Illegal instruction: 4 错误解决办法

越狱后

必要的软件准备:在Cydia里安装下面的软件  
    1.OpenSSH,OpenSSH是Linux下常用的服务,装上后设备可充当服务SSH服务端  
    2.GNU Debugger(gdb)调试工具  
    3.adv-cmds(ps命令)  
    4. darwin cc tools (otools)  
    5. Link Identity Editor (ldid)

gdb 

Illegal instruction: 4

在iPhone5、iPhone5s、iPad4、iPad mini 2上  
libgcc: http://apt.saurik.com/debs/libgcc_4.2-20080410-1-6_iphoneos-arm.deb 
gcc: http://apt.saurik.com/debs/iphone-gcc_4.2-20080604-1-8p_iphoneos-arm.deb 
gdb: http://apt.saurik.com/debs/gdb_1518-12p_iphoneos-arm.deb 
make: http://apt.saurik.com/debs/make_3.81-2p_iphoneos-arm.deb 
用dpkg -i *.deb安装  
然后  
sed -i'' 's/\x00\x30\x93\xe4/\x00\x30\x93\xe5/g;s/\x00\x30\xd3\xe4/\x00\x30\xd3\xe5/g;' helloword  
即可避免Illegal instruction: 4错误

http://bbs.feng.com/read-htm-tid-5259660.html

http://www.ccvita.com/517.html 

source 

repo.appvv.com  share

我只是安装了那四个包就可以了

原文:http://www.cnblogs.com/anjsxz/p/3909101.html


  • 0
    点赞
  • 2
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值