$ nc -l -p 20000 & [1] 2811 $ valgrind --xml-socket=127.0.0.1:20000 --xml=yes true valgrind: Bad option: --xml=yes, but no XML destination specified valgrind: --xml=yes has been specified, but there is no XML output valgrind: destination. You must specify an XML output destination valgrind: using --xml-fd, --xml-file or --xml-socket. valgrind: Use --help for more information or consult the user manual. [1]+ Done nc -l -p 20000 It looks like valgrind does connect to the socket, but closes it immediately (netcat quits after valgrind is executed).
Created attachment 107013 [details] Fix xml-socket issue The attached patch fixes this issue. Too bad this has never been tested...
Thank you for the patch. Fixed in SVN commit r16467.