Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » C / C++ IDE (CDT) » DWARF debugger for CDT
DWARF debugger for CDT [message #208210] Fri, 18 January 2008 11:26 Go to next message
Eclipse User
Originally posted by: albox.free.fr

Hi,
I'd like to know what the state of the DWARF debugger for CDT ? (a
thread has been posted 3 years ago but it seems that there has been no
updates since then :
http://dev.eclipse.org/mhonarc/lists/cdt-dev/msg03629.html)
I'm actually using the MULTI IDE (from Green Hills Software). A plugin
is provided to use MULTI with Eclipse. Unfortunately, there is not much
support for using the Eclipse debugger. The only thing we can do is
generating DWARF, COFF, or BSD debugging information in the
object file.
My first question is : Which of those file format is better supported by
Eclipse ?

Also, I'd like to know what I should do to set up the Eclipse debugger.
I looked at the Eclipse documentation but I haven't seen anything.

Thanks
Re: DWARF debugger for CDT [message #208218 is a reply to message #208210] Fri, 18 January 2008 12:21 Go to previous messageGo to next message
Eclipse User
Originally posted by: dmsubs.NOSPAM.consertum.com

The "Eclipse Debugger" is GDB.

What this actually means is that Eclipse (strictly, CDT) provides a UI onto an
abstracted debugger interface. The abstraction provided with CDT is for the GDB
"MI" interface. The advantage of this is that GDB is pretty universal (it runs
on many different hosts, and supports many different targets).

CDT also provides some object-file parsers. Those supported out of the box,
includes various ELF and COFF formats.

DWARF is actually the format of the debug information within the object file. It
is normally used within the ELF file (but is not 'tied' to ELF). DWARF contains
things like the symbol table and the mapping between source lines and program
location. DWARF is read by the underlying debugger (i.e. GDB) and not by CDT.

So, really your question is "is my executable format supported by GDB", followed
by, "is that version of GDB supported by CDT".

If you are using GHS tools, you really need to ask them...

HTH

--
Derek


exquisitus wrote:
> Hi,
> I'd like to know what the state of the DWARF debugger for CDT ? (a
> thread has been posted 3 years ago but it seems that there has been no
> updates since then :
> http://dev.eclipse.org/mhonarc/lists/cdt-dev/msg03629.html)
> I'm actually using the MULTI IDE (from Green Hills Software). A plugin
> is provided to use MULTI with Eclipse. Unfortunately, there is not much
> support for using the Eclipse debugger. The only thing we can do is
> generating DWARF, COFF, or BSD debugging information in the
> object file.
> My first question is : Which of those file format is better supported by
> Eclipse ?
>
> Also, I'd like to know what I should do to set up the Eclipse debugger.
> I looked at the Eclipse documentation but I haven't seen anything.
>
> Thanks
Re: DWARF debugger for CDT [message #208222 is a reply to message #208218] Fri, 18 January 2008 13:45 Go to previous message
Eclipse User
Originally posted by: albox.free.fr

Hi,
Thank you very much. It's perfectly clear now. I'll investigate and I'll
let you know :-)

Derek Morris wrote:
> The "Eclipse Debugger" is GDB.
>
> What this actually means is that Eclipse (strictly, CDT) provides a UI
> onto an abstracted debugger interface. The abstraction provided with CDT
> is for the GDB "MI" interface. The advantage of this is that GDB is
> pretty universal (it runs on many different hosts, and supports many
> different targets).
>
> CDT also provides some object-file parsers. Those supported out of the
> box, includes various ELF and COFF formats.
>
> DWARF is actually the format of the debug information within the object
> file. It is normally used within the ELF file (but is not 'tied' to
> ELF). DWARF contains things like the symbol table and the mapping
> between source lines and program location. DWARF is read by the
> underlying debugger (i.e. GDB) and not by CDT.
>
> So, really your question is "is my executable format supported by GDB",
> followed by, "is that version of GDB supported by CDT".
>
> If you are using GHS tools, you really need to ask them...
>
> HTH
>
Previous Topic:Visiting the C/C++ Index
Next Topic:Working with the debugger
Goto Forum:
  


Current Time: Tue Sep 16 17:33:14 GMT 2014

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

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