This is the mail archive of the
gdb@sourceware.org
mailing list for the GDB project.
RE: Multiplexing gdb remote protocol and application output
- From: "Yuri Karlsbrun" <yuri at c2micro dot com>
- To: "'Daniel Jacobowitz'" <drow at false dot org>
- Cc: <gdb at sourceware dot org>
- Date: Fri, 23 Sep 2005 17:37:00 -0700
- Subject: RE: Multiplexing gdb remote protocol and application output
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