public inbox for gdb@sourceware.org
 help / color / mirror / Atom feed
From: "Yuri Karlsbrun" <yuri@c2micro.com>
To: "'Daniel Jacobowitz'" <drow@false.org>
Cc: <gdb@sourceware.org>
Subject: RE: Multiplexing gdb remote protocol and application output
Date: Sat, 24 Sep 2005 00:36:00 -0000	[thread overview]
Message-ID: <20050924003602.D202FB8001@cassini.c2micro.com> (raw)
In-Reply-To: <20050921025532.GA5927@nevyn.them.org>


Hi,

As an exercise, I restored 'target cisco' in gdb-6.3 (used code from
gdb-5.0). It was not difficult.

Then I found in the GDB manual "File I/O remote protocol extension". The
idea of this protocol extension is pretty much the same as Cisco hack: guard
application input/output, but the implementation is much more flexible.

I wonder, why nobody mentioned extended file IO.

Yuri

> > Older gdb versions supported 'target cisco'. Function readsocket()
> allowed
> > to distinct between application output and remote communication protocol
> > packets, using escape sequence.
> >
> > Now 'target cisco' support removed from gdb distribution. Is there any
> > standard way in gdb to multiplex remote protocol and application
> > input/output?
>
> Not really, but there's at least one tool that can do this, called kdmx
> (specific to Linux but I believe it ought to be fairly portable).
>
> I'm afraid that's all I know about the subject though.
>
> --
> Daniel Jacobowitz
> CodeSourcery, LLC



  parent reply	other threads:[~2005-09-24  0:36 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-09-21  0:58 yuri
2005-09-21  2:55 ` Daniel Jacobowitz
2005-09-21 14:34   ` Kris Warkentin
2005-09-24  0:36   ` Yuri Karlsbrun [this message]
2005-09-21 13:35 ` Paul Koning
2005-09-21 17:01 ` Paul Gilliam

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=20050924003602.D202FB8001@cassini.c2micro.com \
    --to=yuri@c2micro.com \
    --cc=drow@false.org \
    --cc=gdb@sourceware.org \
    /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;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).