Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [cdt-dev] I think we can use GDB console to execute MI commands

> -----Original Message-----
> From: cdt-dev-bounces@xxxxxxxxxxx 
> [mailto:cdt-dev-bounces@xxxxxxxxxxx] On Behalf Of Simon Marchi
> Sent: Wednesday, June 19, 2013 8:34 AM
> To: cdt-dev@xxxxxxxxxxx
> Subject: Re: [cdt-dev] I think we can use GDB console to 
> execute MI commands
> 
> On 13-06-19 03:12 AM, 高国胜 wrote:
> > Hi,
> > CDT use GDB MI interface to debug a c/c++ program on Linux OS,
> > But the console is not friendly as GDB CLI console.
> > In fact GDB can execute MI command from CLI console, like this:
> > interpreter-exec <interpreter> [ <command> ... ]
> > if we execute the eclipse MI command from GDB CLI console, 
> the eclipse console must the
> > same as GDB CLI console.
> > 
> > What’s your opinion about this?
> > 
> > Best regards!
> 
> Hi,
> 
> If I understand correctly, you would like if Eclipse talked with GDB
> using the standard CLI interpreter and pass MI commands with
> interpreter-exec. My concern is that with CLI, you don't get the
> asynchronous MI events such as =thread-created, which CDT 
> really needs.
> 
> I agree, however, that the CLI experience is CDT is far from the real
> CLI. If I remember correctly, it doesn't have history and
> tab-completion. It would be nice if there was a way to get 
> that for cheap.

We're currently working with the GDB community to make this happen.
I'm hoping the next CDT release will provide full GDB console support.

Marc

Back to the top