<table border="1" cellspacing="0" cellpadding="8">
    <tr>
        <th>Issue</th>
        <td>
            <a href=https://github.com/llvm/llvm-project/issues/132024>132024</a>
        </td>
    </tr>

    <tr>
        <th>Summary</th>
        <td>
            lldb-server fails to connect on version 20.1+
        </td>
    </tr>

    <tr>
      <th>Labels</th>
      <td>
            new issue
      </td>
    </tr>

    <tr>
      <th>Assignees</th>
      <td>
      </td>
    </tr>

    <tr>
      <th>Reporter</th>
      <td>
          azais-corentin
      </td>
    </tr>
</table>

<pre>
    Hello,

Since LLVM 20, I'm not able to use remote debugging anymore.

I start the server on one terminal:
```
lldb-server-20 platform --server --listen *:1234 --min-gdbserver-port 31400 --max-gdbserver-port 31500
```

Then when I connect, I get the following errors:

```
> lldb-20
> (lldb) platform select remote-linux
> (lldb) platform connect connect://127.0.0.1:1234
> error: spawn_process failed: execve failed: No such file or directory
> error: Connection shut down by remote side while waiting for reply to initial handshake packet
```

The exact same steps on LLVM 19 work without any errors
</pre>
<img width="1" height="1" alt="" src="http://email.email.llvm.org/o/eJx8k0-PmzwQxj-NuYxAxoYEDhzYfd-oK217adVrZWAAd42NbBOSfvrKhP2jtKoUBTEzfnhm5mfhnBw0YkXyB5L_F4nFj8ZW4peQLm6NRe2ljhrTXatPqJQh7JHQmtD6q9QtwvPz98_AKGGP8ETYcQJtPIhGIXgDi0OwOBmP0GGzDIPUAwh9nYzF5KbyBM4L68GPCA7tGS0YDUYjeLST1EIRHurIge4_WivVNfGtOGYUZiV8b-wE8R6EOFbSedRAWE14nTKeQRxPUsdD1-wHZ2M98DSjNKTE5c9UTundhwmtv42oYQ1_T9AarbH1W-8w4K2J3ihl1tAoWmus2-3fCfH_YeuCvb4RVoQAYeV7Pw4Vtn6fYKykXi7_qN7dvLniNWEnwk4pOyY0oUm6T2KX2NwRXoObxap_zNa06Bz0QirsQhwv2J7xQ-CLAbe0I_RSIRgLnbTYemOv94qPNwfSaHDj4qEzq4bm-oqCkx3COgaVVUgfRtUbCxZndQ3USC29FApGoTs3iheEWbQv6P-6DMCLaD04MSE4j7ML-GxQpiWsxr7AKv1oFh-421cSdRXvSl6KCKv0mDFepiktorHivOzzLm8O_MBFQbFN-yI_UMZ5f-jzYxnJilGWU56WKedpViQF65F1TSvSoivyLCMZxUlIlSh1nhJjh0g6t2CVckZZFinRoHLbVWNM4wpbljAWbp6twqG4WQZHMhoIdu8yXnqF1Qfyt8W4MK_XxRsNZ7QujJ2FdbOHaLGqGr2f3RsNg_Tj0iStmQg7BfX9Ec_W_NxgPm2eXCDnZvpcsd8BAAD__77mUhU">