[Lldb-commits] [lldb] [lldb][gdb-remote] Send QSetSTDIOWindowSize for a 0x0 size (PR #205772)
Charles Zablit via lldb-commits
lldb-commits at lists.llvm.org
Thu Jun 25 10:08:36 PDT 2026
================
@@ -2039,7 +2039,7 @@ int GDBRemoteCommunicationClient::SetSTDERR(const FileSpec &file_spec) {
int GDBRemoteCommunicationClient::SetSTDIOWindowSize(uint16_t cols,
uint16_t rows) {
- if (cols == 0 || rows == 0)
+ if ((cols == 0) != (rows == 0))
----------------
charles-zablit wrote:
I added a comment to clarify.
Only Windows uses that path currently but it could be used by macOS and UNIX someday if there is ever a use case for it.
https://github.com/llvm/llvm-project/pull/205772
More information about the lldb-commits
mailing list