[Lldb-commits] [lldb] [lldb] Fixed the error `unable to launch a GDB server` in API tests (PR #98833)

Dmitry Vasilyev via lldb-commits lldb-commits at lists.llvm.org
Wed Jul 17 04:01:22 PDT 2024


slydiman wrote:

> Agreed, so silent UB would just be making things worse.

So, this patch fixes that issue, right?

> Perhaps I am spelling the port option differently, or you mean a lldb-server gdbserver launched by a platform ignores the port.

It seems it depends on the system. 

Note I'm working on a patch to fix #97537 and all port mapping related issues. The idea is to use threads for platform mode and use a common port map for all connections instead of making a new `portmap_for_child` with 1 port.

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


More information about the lldb-commits mailing list