Multiplexing gdb remote protocol and application output
Kris Warkentin
kewarken@qnx.com
Wed Sep 21 14:34:00 GMT 2005
Daniel Jacobowitz wrote:
> On Tue, Sep 20, 2005 at 05:58:29PM -0700, yuri@enmediainc.com wrote:
> > Hello,
> >
> > 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.
>
Our QNX pdebug protocol does it by defining different communication
channels for protocol messages and I/O. The support isn't rolled into
the FSF tree yet however and there aren't any clients other than
Neutrino. Wow. How incredibly unhelpful of me. ;-)
I know that Cisco has their support ported to newer versions of gdb but
I hadn't realized that they once had support in the main tree. I guess
they haven't gotten around to putting it back in.
cheers,
Kris
--
Stay up-to-date on all the QNX news! Register at
http://www.qnx.com/news/forms/newsletter.html to
receive our newsletter.
More information about the Gdb
mailing list