[Lldb-commits] [lldb] [lldb-dap] Added "port" property to vscode "attach" command. (PR #91570)
Santhosh Kumar Ellendula via lldb-commits
lldb-commits at lists.llvm.org
Mon May 20 08:47:05 PDT 2024
================
@@ -1572,6 +1572,15 @@ def findBuiltClang(self):
return os.environ["CC"]
+ def getBuiltinServerTool(self, server_tool):
+ # Tries to find simulation/lldb-server/gdbserver tool at the same folder as the lldb.
+ lldb_dir = os.path.dirname(lldbtest_config.lldbExec)
+ path = shutil.which(server_tool, path=lldb_dir)
+ if path is not None:
+ return path
+
+ return ""
----------------
santhoshe447 wrote:
Agreed with this comment.
I would like to modify this function to get the lldb-server/gdbserver based on OS.
Is this fine ?
https://github.com/llvm/llvm-project/pull/91570
More information about the lldb-commits
mailing list