This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [patch] MI telnet service


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]