[Lldb-commits] [lldb] [lldb][Windows] add stdin support to lldb-server (PR #201638)
Charles Zablit via lldb-commits
lldb-commits at lists.llvm.org
Mon Jun 8 09:46:53 PDT 2026
================
@@ -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
More information about the lldb-commits
mailing list