================
@@ -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
_______________________________________________
lldb-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits