[Lldb-commits] [lldb] [debugserver] Implement MultiMemRead packet (PR #162670)

Felipe de Azevedo Piovezan via lldb-commits lldb-commits at lists.llvm.org
Sat Oct 11 07:54:11 PDT 2025


================
@@ -0,0 +1,72 @@
+"""
+Tests the exit code/description coming from the debugserver.
+"""
+
+import lldb
+from lldbsuite.test.decorators import *
+from lldbsuite.test.lldbtest import *
+from lldbsuite.test import lldbutil
+
+
+ at skipUnlessDarwin
+ at skipIfOutOfTreeDebugserver
+class TestCase(TestBase):
+    def send_process_packet(self, packet_str):
+        self.runCmd(f"proc plugin packet send {packet_str}", check=False)
+        # The output is of the form:
+        #  packet: <packet_str>
+        #  response: <response>
+        reply = self.res.GetOutput().split("\n")
+        reply[0] = reply[0].strip()
+        reply[1] = reply[1].strip()
+
+        self.assertTrue(reply[0].startswith("packet: "), reply[0])
----------------
felipepiovezan wrote:

That was a bit of an oopsie on my part. Will add on both.

https://github.com/llvm/llvm-project/pull/162670


More information about the lldb-commits mailing list