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

Pavel Labath via lldb-commits lldb-commits at lists.llvm.org
Thu Aug 15 05:28:26 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) {
----------------
labath wrote:

```suggestion
FileSpec GDBRemoteCommunication::GetDebugserverPath(
    Platform *platform) {
```

just return an invalid FileSpec for error.

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


More information about the lldb-commits mailing list