[Lldb-commits] [lldb] [lldb] Removed gdbserver ports map from lldb-server (PR #104238)
Dmitry Vasilyev via lldb-commits
lldb-commits at lists.llvm.org
Thu Aug 15 06:31:51 PDT 2024
slydiman wrote:
> Are they just consumed but the port number is not used because it can use the first port for everything?
>
> (I do see the logic of leaving the options in at first, so we can tell whether any problems are from the changes in this PR or purely from removing the options)
We need only 1 port defined by `--gdbserver-port`. I kept `--min-gdbserver-port` and `--max-gdbserver-port` for backward compatibility.
```
lldb-server p --server --listen *:1234 --gdbserver-port 1235 --min-gdbserver-port 1236 --max-gdbserver-port 1237
```
1235 is used for gdb
```
lldb-server p --server --listen *:1234 --min-gdbserver-port 1236 --max-gdbserver-port 1237
```
1236 is used for gdb
```
lldb-server p --server --listen *:1234 --max-gdbserver-port 1237 --min-gdbserver-port 1236
```
1237 is used for gdb
https://github.com/llvm/llvm-project/pull/104238
More information about the lldb-commits
mailing list