================
@@ -2569,12 +2569,19 @@ 
GDBRemoteCommunicationServerLLGS::Handle_I(StringExtractorGDBRemote &packet) {
     // write directly to stdin *this might block if stdin buffer is full*
     // TODO: enqueue this block in circular buffer and send window size to
     // remote host
-    ConnectionStatus status;
     Status error;
+
+#if defined(_WIN32)
+    // On Windows the inferior's stdio is owned by NativeProcessWindows.
----------------
Nerixyz wrote:

`NativeProcessWindows::WriteStdin` calls `m_stdio_communication.Write` 
internally. If I understand correctly, then we can't use 
`m_stdio_communication`, because that's not the same as 
`m_current_process->m_stdio_communication`.

https://github.com/llvm/llvm-project/pull/201638
_______________________________________________
lldb-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits

Reply via email to