You are very right in your assessment which is why we didn't invest in improving the current console, but instead are trying to get GDB to provide a 'hook' to its own console.
The idea is that CDT could use the nice Terminal feature from TM and simply open a connection to a running GDB, where it would automatically get completion, history, and such, effectively providing, as you pointed out, the same features as what GDB provides
from an xterm.
Our hope is to have this early 2016 and include it in CDT 9.0/Neon. It's been a long time in the making, but it looks like the stars might finally be aligning this year :)
Marc
From: cdt-dev-bounces@xxxxxxxxxxx [cdt-dev-bounces@xxxxxxxxxxx] on behalf of Oberhuber, Martin [Martin.Oberhuber@xxxxxxxxxxxxx]
Sent: August 31, 2015 1:39 PM
To: CDT General developers list.
Subject: Re: [cdt-dev] Tab completion on the GDB Console in CDT ?
Thanks Mark,
I would be keen hearing more about your plans do upgrade the GDB Console in CDT.
As I think more about it, “complete” alone would likely not suffice, one also wants command history (cursor up/down) along with line editing… I guess ideally GDB should behave in the CDT console just like GDB
in an xterm. With CDT adding value like variable and source display, but not removing any value from GDB. See also my other posting on “CDT and GDB over serial”…
Thanks,
Martin
--
Martin Oberhuber, SMTS / Product Owner – Development Tools,
Wind River
direct +43.662.457915.85 fax +43.662.457915.6
From: cdt-dev-bounces@xxxxxxxxxxx [mailto:cdt-dev-bounces@xxxxxxxxxxx]
On Behalf Of Marc Khouzam
Sent: Monday, August 31, 2015 6:55 PM
To: CDT General developers list.
Subject: Re: [cdt-dev] Tab completion on the GDB Console in CDT ?
Hi Martin,
no, right now CDT does not support command-completion in its gdb console.
That console is very lacking right now and we have plans to dramatically upgrade it,
based on some planned GDB improvements.
But the current one could be made to work better, we just are looking at different
approach instead.
Getting tab-completion to work could be done using GDB's 'complete' command.
Marc
From:
cdt-dev-bounces@xxxxxxxxxxx [cdt-dev-bounces@xxxxxxxxxxx] on behalf of Oberhuber, Martin [Martin.Oberhuber@xxxxxxxxxxxxx]
Sent: August 31, 2015 10:54 AM
To: cdt-dev@xxxxxxxxxxx
Subject: [cdt-dev] Tab completion on the GDB Console in CDT ?
Hi CDT/GDB experts,
Is there a way getting tab completion to work on the GDB Commandline that’s in the CDT Console ?
I’ve searched bugzilla and couldn’t find a related ticket, so perhaps I just don’t know how to use it ?
Any tips would be appreciated
J
Thanks,
Martin
--
Martin Oberhuber, SMTS / Product Owner
– Development Tools, Wind River
direct +43.662.457915.85 fax +43.662.457915.6
|