Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » C / C++ IDE (CDT) » Can I use CDT to debug COFF object file?(Debug; TI DSP)
Can I use CDT to debug COFF object file? [message #1834540] Thu, 12 November 2020 06:23 Go to next message
Jubo Ge is currently offline Jubo GeFriend
Messages: 2
Registered: November 2020
Junior Member
I'm a rookie at Eclipse/CDT and ran into some problems.

Our project wants to develop applications, written in C Language, for TI DSP hardware. Its object file format follows the COFF instead of ELF or PE.

We could debug it by GDB, but I don't know how to use CDT/CDT GUI to do that. It seems that the CDT/CDI cannot identify the COFF format and create the link between source code and object file.

How can we make it?

[Updated on: Thu, 12 November 2020 09:01]

Report message to a moderator

Re: Can I use CDT to debug COFF object file? [message #1834573 is a reply to message #1834540] Thu, 12 November 2020 15:58 Go to previous messageGo to next message
Tauno Voipio is currently offline Tauno VoipioFriend
Messages: 742
Registered: August 2014
Senior Member
The Eclipse debugging goes through GDB, Eclipse is a front-end to GDB user interface. If you have a (cross-)GDB for your processor and binary format (COFF), it should just be possible to configure CDT to use the proper GDB as its back-end.

See the CDT help instructions on debug setup. This does, however, need that your GDB is new enough to match the Eclipse machine interface (MI), see GDB manual.


--

Tauno Voipio
Re: Can I use CDT to debug COFF object file? [message #1834587 is a reply to message #1834573] Fri, 13 November 2020 01:54 Go to previous messageGo to next message
Jubo Ge is currently offline Jubo GeFriend
Messages: 2
Registered: November 2020
Junior Member
Thanks for your reply. I'll follow your advice and post later problems in time.
Re: Can I use CDT to debug COFF object file? [message #1834871 is a reply to message #1834587] Thu, 19 November 2020 12:53 Go to previous message
Mark Smith is currently offline Mark SmithFriend
Messages: 82
Registered: September 2020
Member
See this
https://stackoverflow.com/questions/36983610/problems-with-adding-icon-to-executable-eclipse-cdt-luna-make-no-rule-to
Previous Topic:Multiple "could not be resolved" problems
Next Topic:Trying to use Eclipse CDT for Arduino development?
Goto Forum:
  


Current Time: Mon Oct 14 02:35:11 GMT 2024

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

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

Back to the top