[Lldb-commits] [lldb] [lldb] Use correct path for debugserver (PR #131609)

Yuval Deutscher via lldb-commits lldb-commits at lists.llvm.org
Wed Apr 23 00:09:24 PDT 2025


yuvald-sweet-security wrote:

> FYI, I reverted this because of problems test failures on mac: https://green.lab.llvm.org/job/llvm.org/view/LLDB/job/as-lldb-cmake/24395/testReport/junit/lldb-api/commands_target_auto-install-main-executable/TestAutoInstallMainExecutable_py/
> 
> I'm not quite sure what's happening, but it seems pretty clear that lldb is failing to find the debugserver binary (on mac, the gdbserver is in a different binary). If you have access to a mac, you should be able to reproduce it yourself (it worked for me, even though I often get different results from the green dragon). If not, maybe we can ask one of the apple folks to take a look.
> 
> That said, inspired by your last PR (which, unsurprisingly, broke some of our symlink configurations), I'm going to be refactoring the code which launches debug servers soon(ish), and I think I can make it work with your setup as well. So, if you're not in particular hurry, you may not need to do anything.

Don't have a mac at hand here but I do have one in another place (tagging myself - @hadeutscher). I might get to fixing this next week.


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


More information about the lldb-commits mailing list