Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » C / C++ IDE (CDT) » Cannot use eclipse to debug
Cannot use eclipse to debug [message #1416218] Thu, 04 September 2014 15:42 Go to next message
xianghao hou is currently offline xianghao houFriend
Messages: 1
Registered: September 2014
Junior Member
I use the eclipse(luna) to do a project,and I used the codesorcery tool chain.

I have successfully passed the build,in which I used the cs-make and arm-none-eabi-gcc compiler.I got the .elf binary file.

However,when I want to debug(I made the debug configurations:I set the environment variable,and set the gdb as arm-none-eabi-gdb)I failed with the following message:

Error in final launch sequence
Failed to execute MI command:
-exec-run
Error message from debugger back end:
Don't know how to run. Try "help target".
Don't know how to run. Try "help target".

In this way I cannot run the debug.

Can someone help me?Thanks a lot!
Re: Cannot use eclipse to debug [message #1416267 is a reply to message #1416218] Thu, 04 September 2014 18:15 Go to previous message
Marc Khouzam is currently offline Marc KhouzamFriend
Messages: 357
Registered: July 2009
Senior Member
I'm guessing that you are trying to debug a remote target. To do that you should use a 'remote' type of launch for debugging. CDT has two of them, and choosing the right one depends on how your gdbserver is started. Some details here:
https://wiki.eclipse.org/CDT/User/FAQ#How_do_I_debug_a_remote_application.3F

Marc
Previous Topic:luna indexer problem that kepler did not have
Next Topic:open-declaration gets confused when there are two files with the same name
Goto Forum:
  


Current Time: Mon Oct 14 22:12:14 GMT 2024

Powered by FUDForum. Page generated in 0.03784 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top