Update README
[riscv-isa-sim.git] / riscv / remote_bitbang.cc
index 888032e005a59bccab4889fb4cc222935599e7f5..21306dd166f46fd3ebed2d1bf034550b1e6f5ed4 100644 (file)
@@ -164,8 +164,14 @@ void remote_bitbang_t::execute_commands()
         abort();
       }
     }
+
+    if (quit) {
+      fprintf(stderr, "Remote Bitbang received 'Q'\n");
+    }
+
     if (recv_end == 0 || quit) {
       // The remote disconnected.
+      fprintf(stderr, "Received nothing. Quitting.\n");
       close(client_fd);
       client_fd = 0;
       break;