[Lldb-commits] [lldb] [lldb] Removed gdbserver ports map from lldb-server (PR #104238)

David Spickett via lldb-commits lldb-commits at lists.llvm.org
Fri Aug 16 03:41:18 PDT 2024


================
@@ -147,15 +147,8 @@ GDB-SERVER CONNECTIONS
 
 .. option:: --gdbserver-port <port>
 
- Define a port to be used for gdb-server connections. Can be specified multiple
- times to allow multiple ports. Has no effect if --min-gdbserver-port
- and --max-gdbserver-port are specified.
-
-.. option:: --min-gdbserver-port <port>
-.. option:: --max-gdbserver-port <port>
-
- Specify the range of ports that can be used for gdb-server connections. Both
- options need to be specified simultaneously. Overrides --gdbserver-port.
+ Define a port to be used for gdb-server connections. This port is used for
+ multiple connections.
----------------
DavidSpickett wrote:

I don't know much about how ports work, can you explain briefly how that single port knows to route traffic from each client lldb to the right lldb-server gdbserver?

It appears to "just work" but I'm curious.

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


More information about the lldb-commits mailing list