Show a line in the output log when the client connects but the
requested file is not found by the server.  This makes it easier to
diagnose client--server communications problems.


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@13788 a5019735-40e9-0310-863c-91ae7b9d1cf9
diff --git a/auxprogs/valgrind-di-server.c b/auxprogs/valgrind-di-server.c
index 2889d26..40b59d7 100644
--- a/auxprogs/valgrind-di-server.c
+++ b/auxprogs/valgrind-di-server.c
@@ -743,6 +743,8 @@
          fd = open((char*)filename, O_RDONLY);
          if (fd == -1) {
             res = mk_Frame_asciiz("FAIL", "OPEN: cannot open file");
+            printf("(%d) SessionID %llu: open failed for \"%s\"\n",
+                   conn_count, conn_state[conn_no].session_id, filename );
             ok = False;
          } else {
             assert(fd > 2);