[PATCH 2/2] Make gdbserver connect to SOCK_STREAM sockets

Gabriel Corona gabriel.corona@enst-bretagne.fr
Tue May 5 20:19:00 GMT 2015


This second patch may not be that useful because gdbserver is launched
first and starts communicating immediately without waiting for a
remote side to connect to the socket.  If the other side is launched
too late, gdbserver has already timed-out and the communication fails
with:

> Remote debugging using |socat STDIO UNIX-LISTEN:a.sock
> Ignoring packet error, continuing...
> warning: unrecognized item "timeout" in "qSupported" response
> Ignoring packet error, continuing..

--
Gabriel



More information about the Gdb-patches mailing list