Eclipse failed to execute MI command -target-select remote(Eclipse 执行 MI 命令 -target-select remote 失败)
问题描述
尝试在 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.
<小时>
我的 gdb 调试器设置正确
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
(执行此操作时我可以得到 gdb shell)
(when executing this I can get gdb shell)
知道我做错了什么吗?
推荐答案
如果 gdb 客户端(在 eclipse 中)没有针对与 gdb 服务器相同的架构进行编译,则会发生这种情况.在eclipse调试中设置正确的gdb解决了这个问题.
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 失败的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持编程学习网!
本文标题为:Eclipse 执行 MI 命令 -target-select remote 失败


基础教程推荐
- “未找到匹配项"使用 matcher 的 group 方法时 2022-01-01
- 减少 JVM 暂停时间 >1 秒使用 UseConcMarkSweepGC 2022-01-01
- FirebaseListAdapter 不推送聊天应用程序的单个项目 - Firebase-Ui 3.1 2022-01-01
- 在 Libgdx 中处理屏幕的正确方法 2022-01-01
- 降序排序:Java Map 2022-01-01
- 如何使用 Java 创建 X509 证书? 2022-01-01
- 设置 bean 时出现 Nullpointerexception 2022-01-01
- Java Keytool 导入证书后出错,"keytool error: java.io.FileNotFoundException &拒绝访问" 2022-01-01
- Java:带有char数组的println给出乱码 2022-01-01
- 无法使用修饰符“public final"访问 java.util.Ha 2022-01-01