This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [patch] MI telnet service
- From: Jan Kratochvil <jan dot kratochvil at redhat dot com>
- To: Marc Khouzam <marc dot khouzam at ericsson dot com>
- Cc: "'Abid, Hafiz'" <Hafiz_Abid at mentor dot com>, "'gdb-patches at sourceware dot org'" <gdb-patches at sourceware dot org>
- Date: Fri, 3 Aug 2012 13:36:21 +0200
- Subject: Re: [patch] MI telnet service
- References: <EB3B29AD43CA924DA27099BC8519237629DF36@EU-MBX-03.mgc.mentorg.com> <20120725130222.GA4538@host2.jankratochvil.net> <F7CE05678329534C957159168FA70DEC5C25003065@EUSAACMS0703.eamcs.ericsson.se> <20120725192653.GA24148@host2.jankratochvil.net>
Hi Marc,
On Wed, 25 Jul 2012 21:26:53 +0200, Jan Kratochvil wrote:
> Do you find the proposal above worth investigation?
It is still very poor but for very very basic use it works, with readline.
Only as single CLI over single MI, no multiplexing yet etc.:
http://git.jankratochvil.net/?p=gdbmicli.git;a=tree
git clone git://git.jankratochvil.net/gdbmicli;cd gdbmicli;make;./gdbmicli
I get to implement more, like completion, terminal handling (CTRL-C) etc.
I find it will simplify a lot of things like always forgotten
target_terminal_ours calls etc.
Thanks,
Jan
(gdb) p 1
$1 = 1
(gdb) file true
Reading symbols from /bin/true...Reading symbols from /usr/lib/debug/bin/true.debug...done.
done.
(gdb) b main
Breakpoint 1 at 0x401050: file true.c, line 59.
(gdb) run
Starting program: /bin/true
Breakpoint 1, main (argc=1, argv=0x7fffffffdab8) at true.c:59
59 if (argc == 2)
(gdb) q