[Lldb-commits] [lldb] f73db3d - [lldb-dap[test] Don't pass --listen to debugserver

Jonas Devlieghere via lldb-commits lldb-commits at lists.llvm.org
Tue Apr 29 14:59:40 PDT 2025


Author: Jonas Devlieghere
Date: 2025-04-29T14:59:36-07:00
New Revision: f73db3df80e6924551ea773c0d5afb54a82bc76f

URL: https://github.com/llvm/llvm-project/commit/f73db3df80e6924551ea773c0d5afb54a82bc76f
DIFF: https://github.com/llvm/llvm-project/commit/f73db3df80e6924551ea773c0d5afb54a82bc76f.diff

LOG: [lldb-dap[test] Don't pass --listen to debugserver

Fixes "debugserver: unrecognized option `--listen'"

Added: 
    

Modified: 
    lldb/test/API/tools/lldb-dap/attach/TestDAP_attachByPortNum.py

Removed: 
    


################################################################################
diff  --git a/lldb/test/API/tools/lldb-dap/attach/TestDAP_attachByPortNum.py b/lldb/test/API/tools/lldb-dap/attach/TestDAP_attachByPortNum.py
index 18786fca5b1ef..51f62b79f3f4f 100644
--- a/lldb/test/API/tools/lldb-dap/attach/TestDAP_attachByPortNum.py
+++ b/lldb/test/API/tools/lldb-dap/attach/TestDAP_attachByPortNum.py
@@ -41,8 +41,6 @@ def get_debug_server_command_line_args(self):
         args = []
         if lldbplatformutil.getPlatform() == "linux":
             args = ["gdbserver"]
-        elif lldbplatformutil.getPlatform() == "macosx":
-            args = ["--listen"]
         if lldb.remote_platform:
             args += ["*:0"]
         else:


        


More information about the lldb-commits mailing list