This is the mail archive of the
mailing list for the GDB project.
Re: How about remote MI?
On Sat, Jul 15, 2006 at 09:50:54PM +0800, teawater wrote:
> Hi all,
> In May, I release GDBRUI(http://sourceforge.net/projects/gdbrui/) that
> is an interpreter to make GDB can be controlled by the other programe
> through TCP. But some people ask me why not extend MI to support TCP.
> Now, I think this idea is cool. Does GDB MI support TCP? Maybe I can
> extend MI to support TCP. How do you think about it?
I do not see the point. GDB/MI talks to a terminal or a pipe. If you
want to connect that pipe to a TCP socket, GDB doesn't need to know
that it's a socket.
You can use netcat to connect an arbitrary process to a bidirectional TCP
socket. There's a bunch of other similar tools, too.