[Lldb-commits] [lldb] [lldb] Removed gdbserver ports map from lldb-server (PR #104238)

Dmitry Vasilyev via lldb-commits lldb-commits at lists.llvm.org
Thu Aug 15 05:59:54 PDT 2024


================
@@ -879,20 +879,12 @@ lldb::thread_result_t GDBRemoteCommunication::ListenThread() {
   return {};
 }
 
-Status GDBRemoteCommunication::StartDebugserverProcess(
-    const char *url, Platform *platform, ProcessLaunchInfo &launch_info,
-    uint16_t *port, const Args *inferior_args, int pass_comm_fd) {
+bool GDBRemoteCommunication::GetDebugserverPath(
+    Platform *platform, FileSpec &debugserver_file_spec) {
----------------
slydiman wrote:

I tried to minimize changes here. `bool debugserver_exists` already was here. GetDebugserverPath() is used in GDBRemoteCommunicationServerPlatform.cpp for checking debugserver w/o launching. Invalid FileSpec is not convenient for this purpose.

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


More information about the lldb-commits mailing list