[Lldb-commits] [lldb] [lldb] Have lldb-server assign ports to children in platform mode (PR #88845)

David Spickett via lldb-commits lldb-commits at lists.llvm.org
Tue Apr 16 05:40:12 PDT 2024


DavidSpickett wrote:

I think this will fix https://github.com/llvm/llvm-project/issues/47549. And make the note at the end of `lldb/docs/use/qemu-testing.rst` outdated.

For testing we might be able to send the platform the gdbserver spawn packets and check that it doesn't return the same port each time. There are tests in `lldb/test/API/tools/lldb-server` that expect certain responses. Problem with that is we won't know what port range is available on the test host so what would we pass to the min and max?

Given the only existing tests are for the command line validation, I'd be ok not adding tests for this.

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


More information about the lldb-commits mailing list