labath added a comment. In https://reviews.llvm.org/D49739#1194037, @apolyakov wrote:
> I think those options don't fit. I'm looking for behavior like this: > > ~/workspace/gsoc/build/bin/lldb-server gdbserver --pipe 1 localhost:0 > 36251 > > > Here lldb-server prints out the port number it is listening on and continues > running. > > If debugserver can choose a tcp port in case of passed `hostname:0` then > probably all we need to do is to add analogue of `--pipe` option. That's what --unix-socket and --named-pipe do, except that they write to the port number, well.. to a unix socket or a named pipe. You should be able to use that the same way as the --pipe argument, just the setup will be slightly different. However, adding support for the --pipe option should not be a problem either, given that all the pieces are already in place. Repository: rL LLVM https://reviews.llvm.org/D49739 _______________________________________________ lldb-commits mailing list lldb-commits@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits