Eclipse未能执行MI命令-target-select remote [英] Eclipse failed to execute MI command -target-select remote

查看:467
本文介绍了Eclipse未能执行MI命令-target-select remote的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

尝试在eclipse中设置远程gdb调试。当我尝试调试时,我得到:

 最终启动顺序错误
执行MI命令失败:-target-选择远程LOCALHOST:2345
来自调试器后端的错误消息:
LOCALHOST:2345:连接超时。
LOCALHOST:2345:连接超时。






我的gdb调试器设置正确

  /carambola/carambola/build_dir/toolchain-mipsel_r2_gcc-4.6-linaro_uClibc-0.9.33.2/gdb-linaro-7.2-2011.03-0/ gdb / gdb 

(执行此操作可以获得gdb shell)

任何想法我做错了什么?我认为这是非常基本的??


解决方案

如果gdb客户端(内部eclipse)没有编译为相同的架构作为gdb服务器。
在eclipse调试中设置正确的gdb解决了这个问题


Trying to setup remote gdb debugging in eclipse . when i try to debug i get:

 Error in final launch sequence
 Failed to execute MI command: -target-select remote LOCALHOST:2345
 Error message from debugger back end:
  LOCALHOST:2345: Connection timed out.
  LOCALHOST:2345: Connection timed out.


My gdb debugger is set up correctly

 /carambola/carambola/build_dir/toolchain-mipsel_r2_gcc-4.6-linaro_uClibc-0.9.33.2/gdb-linaro-7.2-2011.03-0/gdb/gdb

( executing this i can get gdb shell )

any idea what i am doing wrong ? i think this is pretty elementary??

解决方案

this happens if the gdb client ( inside eclipse ) is not compiled for the same architecture as the gdb server. setting the correct gdb in eclipse debugging solved this issue

这篇关于Eclipse未能执行MI命令-target-select remote的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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