Mirror of the gdb-patches mailing list
 help / color / mirror / Atom feed
From: Jan Kratochvil <jan.kratochvil@redhat.com>
To: Marc Khouzam <marc.khouzam@ericsson.com>
Cc: "'Abid, Hafiz'" <Hafiz_Abid@mentor.com>,
	       "'gdb-patches@sourceware.org'"
	<gdb-patches@sourceware.org>
Subject: Re: [patch] MI telnet service
Date: Fri, 03 Aug 2012 11:36:00 -0000	[thread overview]
Message-ID: <20120803113621.GA27205@host2.jankratochvil.net> (raw)
In-Reply-To: <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


  parent reply	other threads:[~2012-08-03 11:36 UTC|newest]

Thread overview: 20+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-07-12 11:21 Abid, Hafiz
2012-07-12 13:19 ` Gary Benson
2012-07-12 14:37   ` Abid, Hafiz
2012-07-12 15:08     ` Gary Benson
2012-07-15  8:13     ` Jan Kratochvil
2012-07-12 13:29 ` Eli Zaretskii
2012-07-12 14:45   ` Abid, Hafiz
2012-07-14 19:37     ` Marc Khouzam
2012-07-24 16:17       ` Abid, Hafiz
2012-07-24 19:06         ` Marc Khouzam
2012-07-24 20:15           ` Marc Khouzam
2012-07-17 17:53 ` Vladimir Prus
2012-07-25 13:02 ` Jan Kratochvil
2012-07-25 14:12   ` Marc Khouzam
2012-07-25 19:27     ` Jan Kratochvil
2012-07-26  0:02       ` Stan Shebs
2012-07-26 11:51         ` Jan Kratochvil
2012-08-03 11:36       ` Jan Kratochvil [this message]
2012-07-25 14:16   ` Abid, Hafiz
2012-07-25 19:29     ` Jan Kratochvil

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20120803113621.GA27205@host2.jankratochvil.net \
    --to=jan.kratochvil@redhat.com \
    --cc=Hafiz_Abid@mentor.com \
    --cc=gdb-patches@sourceware.org \
    --cc=marc.khouzam@ericsson.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox