Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[cdt-dev] 答复: I think we can use GDB c

Thanks,I will check it later.

Best regards!
---------------------------------------------
guosheng_gao 高国胜
Realsil Microelectronics Inc.
Tel: +86-512-6258-8966 ext.6617
E-Mail: guosheng_gao@xxxxxxxxxxxxxx
---------------------------------------------

-----邮件原件-----
发件人: cdt-dev-bounces@xxxxxxxxxxx [mailto:cdt-dev-bounces@xxxxxxxxxxx] 代
表 Simon Marchi
发送时间: 2013年6月19日 20:34
收件人: cdt-dev@xxxxxxxxxxx
主题: 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.

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



Back to the top