Eclipse failed to execute MI command -target-select remote

微笑、不失礼 提交于 2019-11-29 03:59:33

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

The connection is using localhost instead of the remote host. To correct, in eclipse go to

Run->Debug Configurations..

Here choose the Debugger tab, inside there are three additional tabs (Main, Shared Libraries, Connections). In connections you can give the proper ip for the remote machine.

Switched to Debug view (upper right button), I then in the top menu bar towards the left I clicked the red box Terminate button. Then I was able to launch debug again.

chandan mishra

This issue is created because of two reason:

  1. if break point is enable so go to run and skip breakpoint
  2. if debug device is not set correctly so go to Debug configure as and check for Debugger option is filled correctly.
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!