Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [cdt-dev] Does CDT plans to use Target Management Terminal view for its GDB Debug console

> -----Original Message-----
> From: cdt-dev-bounces@xxxxxxxxxxx 
> [mailto:cdt-dev-bounces@xxxxxxxxxxx] On Behalf Of Nayna Jain
> Sent: Tuesday, April 03, 2012 2:54 PM
> To: CDT General developers list.
> Subject: Re: [cdt-dev] Does CDT plans to use Target 
> Management Terminal view for its GDB Debug console
> 
> Thanks for quick response.
> 
> Will be planned to develop its own. Or to make use of Target 
> Management Terminal View ?
> 
> I do see in Eclipse CDT FAQs - http://wiki.eclipse.org/CDT/User/FAQ
> mentioning a plan of developing this.
> 
> "Since the debugger is gdb, can I simply access the gdb command line
> interface (CLI)?
> 
> 
> Yes, partially. To access the gdb CLI, select the gdb process 
> node in the
> Debug view. The gdb command line will then be available in the Console
> view. Though no prompt is visible, you can enter commands at 
> the bottom
> line of the Console view. Doing so may desynchronize the IDE 
> and gdb, so be
> careful when driving the debugger using this interface.
> 
> 
> There are plans to provide a full gdb-console in CDT, 
> including prompt,
> command-history, command-completion, and synchronization with 
> Eclipse. Stay tuned to know when it will be available. "

We are working with Mentor to have a full gdb-console in CDT.
The current plan is to get support from GDB to add a second
console to an existing debug session.  That way, we would not
have to implement much directly in Eclipse.
You can look at the first proposal for such support in GDB:
http://sourceware.org/ml/gdb-patches/2011-11/msg00466.html

For Eclipse, we haven't decided what to use as a terminal, but 
it seems like
the TM Terminal view would be a good choice.  My concern is on
how to handle such a dependency for CDT.

There are many bugs about the current CDT gdb console problems.
I don't think I put new info in any of them recently because 
I was waiting to see what GDB would provide for this support.
A good bug to focus on would be 
https://bugs.eclipse.org/bugs/show_bug.cgi?id=303808

If you would be interested in integrating the new GDB feature
in Eclipse using the TM Terminal view, we can help you in
your efforts.

Marc


Back to the top