================
@@ -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.
----------------
charles-zablit wrote:
Yes, `m_stdio_communication` is disconnected on Windows. We have to use
`m_current_process->m_stdio_communication` which owns the ConPTY.
I've added this to the comment for completness.
https://github.com/llvm/llvm-project/pull/201638
_______________________________________________
lldb-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits