Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [cdt-debug-dev] How to develop a non-gdb debugger for CDT?

Hi Haim,
thank you for your reply.

Our projcet is to develop a C compile system for a special DSP. It has a
simulator
that we can use to debug assemble code.
The original plan is to use remote debugging with gdb. But the debugger team
has met some diffculties when they tried to port gdb to our system. So they
select
plan B, to develop their own debugger which is not as complex  as gdb is.
They want to wrap the simulator in the debugger and provide some calling
interface
for debugging. So we must know how CDT is making use of the MI-interface of
gdb as you mentioned. And then we could replace gdb by our own debugger
without
modifying too many CDT source files.
We expect more advice from you.
Thanks.

Best Regards,
Felix


----- Original Message -----
From: "Haim Cohen" <haim.cohen@xxxxxxxxxx>
To: <cdt-debug-dev@xxxxxxxxxxx>
Sent: Tuesday, September 30, 2003 4:50 PM
Subject: Re: [cdt-debug-dev] How to develop a non-gdb debugger for CDT?


> Hi Felix,
>
> I have some experience with debuggers in Eclipse.
> The interface between the inferior debugger and CDT is the command line
> interface of the debugger. CDT is making use of the MI-interface of gdb
> - nothing fancy, just output format which is easier to parse.
> I suggest you to take a look in CDT code, in the
> org.eclipse.cdt.debug.mi.core package.
>
> I did not find any documentation for this.
>
> What are your source language and target that you can not use gdb ?
>
> Haim
>
> Felix Yuan wrote:
> >  Hi,
> > Is it possible to integrate a non-gdb debugger with CDT seamlessly?
> > If yes, how should we design the debugger? Where can I find the document
> > about the interfaces between CDT UI and debugger engine?
> > Thanks in advance.
> >
> > Regards,
> > Felix
>
>
> _______________________________________________
> cdt-debug-dev mailing list
> cdt-debug-dev@xxxxxxxxxxx
> http://dev.eclipse.org/mailman/listinfo/cdt-debug-dev
>


Back to the top