================
@@ -991,7 +991,10 @@
GDBRemoteCommunicationServerCommon::Handle_QSetSTDIOWindowSize(
continue;
*dest = static_cast<uint16_t>(parsed);
}
- if (cols == 0 || rows == 0)
+ // 0x0 is a valid request: it signals "no terminal" and a redirection
+ // backend that supports an alternative path (anonymous pipes on Windows
+ // ConPTY) can switch on it. Reject only the malformed cases.
+ if ((cols == 0) != (rows == 0))
----------------
Nerixyz wrote:
Could you document this special case in `lldb/docs/resources/lldbgdbremote.md`?
https://github.com/llvm/llvm-project/pull/203562
_______________________________________________
lldb-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits