Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [cdt-debug-dev] CDI Documentation

> 
> 
> Hello folks!
> 
> We - Lauterbach - are a manufactorer of ICEs and
> JTAG Debuggers. As such, we like to "integrate" our
> tools into Eclipse. After looking at it (I'm working
> with the QNX Momentics IDE), I found that the "CDI"
> would be the best way to do so (agreed?).
> 

It depends, CDI (C/C++ Debug Interface) provides a common
interface.  The CDT debug framework isolates itself from
the underlying native debuggers by implementing the views with it.

CDT comes with a default implementation, GDB/MI.

A picture:
   +============================+
   |Eclispse CDT Debug Framework|
   +============================+
               |
   +============================+
   | CDI interface              |
   +============================+
               |
               //
               |
   +============================+
   |  GDB/MI impl of CDI        |
   +============================+



CDI is generic, i.e. not GDB bias.

Some hardware folks already modify GDB for there purposes,
so they did not have to implement the CDI(For example Tensilica).

But yes, another avenue could be to implement directly the CDI for your
own purposes.


> However, since several months, the official CDT web
> page tells me, that the API should be locked down
> in the "next 6 months", and gives no documentation
> about CDI.
> 

Guilty, we did not find time to make a complete documentation
of the CDI(C Debug Interface), other pressing needs.

> When will CDI be available for other debugger vendors
> to work with?
> Is there a CDI or CDI API documentation available,
> anywhere?

In the head of CVS, the API is here:
	org.eclipse.cdt.debug.core:
		org.eclipse.cdt.debug.core.cdi
		org.eclipse.cdt.debug.core.cdi.event
		org.eclipse.cdt.debug.core.cdi.model

The default GDB/MI implementation of the CDI:
	org.eclipse.cdt.debug.mi.core:
		org.eclipse.cdt.debug.mi.core.cdi
		org.eclipse.cdt.debug.mi.core.cdi.event
		org.eclipse.cdt.debug.mi.core.cdi.model


It is certain that this API(CDI) will go through iterations
as the feedbacks and different requirements come in.
But the API, is usually locked with a major release.




Back to the top