This is the mail archive of the gdb@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: 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




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