[Lldb-commits] [lldb] [lldb] Fix broken pipe error (PR #127100)
Georgiy Samoylov via lldb-commits
lldb-commits at lists.llvm.org
Fri Feb 14 03:18:33 PST 2025
================
@@ -397,21 +413,23 @@ def connect_to_debug_monitor(self, attach_pid=None):
# Schedule debug monitor to be shut down during teardown.
logger = self.logger
- connect_attemps = 0
+ connect_attempts = 0
MAX_CONNECT_ATTEMPTS = 10
- while connect_attemps < MAX_CONNECT_ATTEMPTS:
- # Create a socket to talk to the server
- try:
- logger.info("Connect attempt %d", connect_attemps + 1)
- self.sock = self.create_socket()
----------------
sga-sc wrote:
@labath Thank you for your advice! After removing check for android platform tests passed. I execute tests on `qemu-system-riscv64` and it's port forwarding behaves probably like android's (judging by passed tests). What should I do with this check for android?
https://github.com/llvm/llvm-project/pull/127100
More information about the lldb-commits
mailing list