Remove the port predicate from Socket and ConnectionFileDescriptor,
and move it to gdb-remote. It is specifically relevant to the threading
used inside gdb-remote and with the new port callback API, we can
reliably move it there. While at it, switch from the custom Predicate
to std::promise/std::future.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
Comment Actions
Hi @mgorny, this broke green-dragon (https://green.lab.llvm.org/green/view/LLDB/job/lldb-cmake/37098/consoleText). You should be able to reproduce by running $ ninja check-lldb-unit
Comment Actions
I'm sorry about that. I don't think I can test it since AFAICS debugserver isn't built on non-Apple systems. However, I've pushed a fix and hopefully I haven't made a mistake.
Comment Actions
Thanks, that fixed the bot https://green.lab.llvm.org/green/view/LLDB/job/lldb-cmake/37105