Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
RE: [cdt-dev] Adding new MI commands to the gdb/mi interface for integration with CDT

The communication with GDB is the same if you use CDI or DSF.  They both talk to GDB using GDB/MI (but also CLI).


From: cdt-dev-bounces@xxxxxxxxxxx [mailto:cdt-dev-bounces@xxxxxxxxxxx] On Behalf Of Rohit Girme
Sent: Monday, December 07, 2009 2:09 AM
To: CDT General developers list.
Subject: Re: [cdt-dev] Adding new MI commands to the gdb/mi interface for integration with CDT

Hi,

If I use DSF to integrate gdb with Eclipse, would I need an MI command to talk with gdb? I have the presentation about to write a DSF based debugger for PDA. Is there any documentation for gdb based debugger integration with DSF?

Thanks,
Rohit

On Sun, Dec 6, 2009 at 11:51 AM, Marc Khouzam <marc.khouzam@xxxxxxxxxxxx> wrote:
Hi,

there are now two GDB integration is CDT.  The orginal one (CDI), and the new one (DSF-GDB).
First, you will have to choose which one you want to use.  Very little work is being done in CDI and there
are no big plans for the future.  DSF-GDB is more active, and already has support for a lot of the latest GDB features.

Either way, adding a new MI command is not difficult, but then you'll have to call is somewhere (which shouldn't be too
bad either :-)).

In DSF-GDB, look for an example command like MIBreakInsert

Marc

P.S. DSF-GDB supports Process Record Replay from GDB 7.0, in case your 'replay' is related to that.

________________________________________
From: cdt-dev-bounces@xxxxxxxxxxx [cdt-dev-bounces@xxxxxxxxxxx] On Behalf Of Rohit Girme [rgirme@xxxxxxx]
Sent: December 6, 2009 1:46 AM
To: CDT General developers list.
Subject: [cdt-dev] Adding new MI commands to the gdb/mi interface for   integration with CDT

Hi,

I have added a new feature/command in gdb called 'replay'. It doesnt matter what exactly replay does. Now I am trying to integrate this 'replay' with CDT. I will first have to add a new MI command for the gdb/mi interface.
Does anyone know anything about this?
Let me know if you need any more information.

--
Thanks & Regards,
Rohit Girme

_______________________________________________
cdt-dev mailing list
cdt-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/cdt-dev



--
Thanks & Regards,
Rohit Girme


Back to the top