[Lldb-commits] [lldb] [lldb] Fix broken pipe error (PR #127100)

2025-02-14 Thread Georgiy Samoylov via lldb-commits
@@ -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_ATTEMPT

[Lldb-commits] [lldb] [lldb] Adapt llgs tests for RISC-V (PR #130034)

2025-03-15 Thread Georgiy Samoylov via lldb-commits
sga-sc wrote: Could you merge it, please? https://github.com/llvm/llvm-project/pull/130034 ___ lldb-commits mailing list lldb-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits

[Lldb-commits] [lldb] [lldb] Fix TestGdbRemoteForkNonStop.py test (PR #131293)

2025-03-19 Thread Georgiy Samoylov via lldb-commits
https://github.com/sga-sc updated https://github.com/llvm/llvm-project/pull/131293 >From cb1c55bd6015520a1b0834546d083f22823d1d2e Mon Sep 17 00:00:00 2001 From: Georgiy Samoylov Date: Mon, 17 Mar 2025 19:21:22 +0300 Subject: [PATCH 1/2] [lldb] Adapted test for remote debugging case --- .../Py

[Lldb-commits] [lldb] [lldb] Fix TestGdbRemoteForkNonStop.py test (PR #131293)

2025-03-21 Thread Georgiy Samoylov via lldb-commits
sga-sc wrote: I don’t have merge rights, so could you merge it, please? https://github.com/llvm/llvm-project/pull/131293 ___ lldb-commits mailing list lldb-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits

[Lldb-commits] [lldb] [lldb] Fix TestGdbRemoteForkNonStop.py test (PR #131293)

2025-03-19 Thread Georgiy Samoylov via lldb-commits
https://github.com/sga-sc updated https://github.com/llvm/llvm-project/pull/131293 >From 09aa2a57cdc4be801589141390c02d0f1991cf45 Mon Sep 17 00:00:00 2001 From: Georgiy Samoylov Date: Wed, 19 Mar 2025 15:50:00 +0300 Subject: [PATCH 1/2] [lldb] Rewrote with lldbutil function --- .../tools/lldb

[Lldb-commits] [lldb] [lldb] Fix TestGdbRemoteForkNonStop.py test (PR #131293)

2025-03-19 Thread Georgiy Samoylov via lldb-commits
@@ -743,6 +743,20 @@ def getBuildArtifact(self, name="a.out"): """Return absolute path to an artifact in the test's build directory.""" return os.path.join(self.getBuildDir(), name) +def get_process_working_directory(self): +"""Get the working dire

[Lldb-commits] [lldb] [lldb] Fix TestGdbRemoteForkNonStop.py test (PR #131293)

2025-03-19 Thread Georgiy Samoylov via lldb-commits
@@ -743,6 +743,20 @@ def getBuildArtifact(self, name="a.out"): """Return absolute path to an artifact in the test's build directory.""" return os.path.join(self.getBuildDir(), name) +def get_process_working_directory(self): +"""Get the working dire

[Lldb-commits] [lldb] [lldb] Fix TestGdbRemoteForkNonStop.py test (PR #131293)

2025-03-17 Thread Georgiy Samoylov via lldb-commits
sga-sc wrote: @labath Addressed https://github.com/llvm/llvm-project/pull/131293 ___ lldb-commits mailing list lldb-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits

[Lldb-commits] [lldb] [lldb] Fix broken pipe error (PR #127100)

2025-02-13 Thread Georgiy Samoylov via lldb-commits
https://github.com/sga-sc created https://github.com/llvm/llvm-project/pull/127100 During LLDB testing on slow machines with the remote-linux platform all tests from llgs category fail with python exception `BrokenPipeError`. The main reason of these failures is slow start of lldb-server in gd

[Lldb-commits] [lldb] [lldb] Fix broken pipe error (PR #127100)

2025-02-14 Thread Georgiy Samoylov via lldb-commits
https://github.com/sga-sc edited https://github.com/llvm/llvm-project/pull/127100 ___ lldb-commits mailing list lldb-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits

[Lldb-commits] [lldb] [lldb] Fix broken pipe error (PR #127100)

2025-02-14 Thread Georgiy Samoylov via lldb-commits
https://github.com/sga-sc updated https://github.com/llvm/llvm-project/pull/127100 >From 1fdc2f811c239bc8992fba9aa8e3d4eb9c76e96a Mon Sep 17 00:00:00 2001 From: Georgiy Samoylov Date: Thu, 6 Feb 2025 13:23:13 +0300 Subject: [PATCH 1/2] [lldb] Fixed a typo --- .../test/tools/lldb-server/gdbrem

[Lldb-commits] [lldb] [lldb] Fix broken pipe error (PR #127100)

2025-02-14 Thread Georgiy Samoylov via lldb-commits
@@ -343,6 +343,22 @@ def get_target_byte_order(self): target = self.dbg.CreateTarget(inferior_exe_path) return target.GetByteOrder() +def is_port_opened(self): +connect_port = self.port + +err, retcode, cmd_output = self.run_platform_com

[Lldb-commits] [lldb] [lldb] Fix broken pipe error (PR #127100)

2025-02-14 Thread Georgiy Samoylov via lldb-commits
@@ -343,6 +343,22 @@ def get_target_byte_order(self): target = self.dbg.CreateTarget(inferior_exe_path) return target.GetByteOrder() +def is_port_opened(self): +connect_port = self.port + +err, retcode, cmd_output = self.run_platform_com

[Lldb-commits] [lldb] [lldb] Fix broken pipe error (PR #127100)

2025-02-14 Thread Georgiy Samoylov via lldb-commits
@@ -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_ATTEMPT

[Lldb-commits] [lldb] [lldb] Fix broken pipe error (PR #127100)

2025-02-14 Thread Georgiy Samoylov via lldb-commits
@@ -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_ATTEMPT

[Lldb-commits] [lldb] [lldb] Fix broken pipe error (PR #127100)

2025-02-14 Thread Georgiy Samoylov via lldb-commits
sga-sc wrote: Thank you for a review, guys, can you merge it, please? I don't have merge rights https://github.com/llvm/llvm-project/pull/127100 ___ lldb-commits mailing list lldb-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/