Skip to main content



      Home
Home » Language IDEs » C / C++ IDE (CDT) » Cannot use eclipse to debug
Cannot use eclipse to debug [message #1416218] Thu, 04 September 2014 11:42 Go to next message
Eclipse UserFriend
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 14:15 Go to previous message
Eclipse UserFriend
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: Fri Jul 04 19:50:44 EDT 2025

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

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

Back to the top