<div dir="ltr"><div class="gmail_extra"><div><div class="gmail_signature"><span style="border-collapse:collapse"><p style="margin:0px">Thanks for the verification Eugene.</p><p style="margin:0px"><br></p><p style="margin:0px">I guess for the short term I am going to look at hacking the source to force the use of a specific port - this might get us around the blocking issue. </p><p style="margin:0px"><br></p><p style="margin:0px">>Date: Thu, 27 Jul 2017 19:22:46 -0700<br>>From: Eugene Zemtsov via lldb-dev <<a href="mailto:lldb-dev@lists.llvm.org">lldb-dev@lists.llvm.org</a>><br>>To: Mark Nelson <<a href="mailto:markn@ieee.org">markn@ieee.org</a>><br>>Cc: <a href="mailto:lldb-dev@lists.llvm.org">lldb-dev@lists.llvm.org</a><br>>Subject: Re: [lldb-dev] Remote debugging - unix socket and/or specific port<br>><br>>Hi Mark,<br>><br>>A quick look at PlatformPOSIX.cpp, PlatformLinux.cpp<br>>and PlatformRemoteGDBServer.cpp shows that Pavel's description of port<br>>forwarding situation is still accurate. On Linux currently there is no way<br>>to know the port number before LLDB tries actually attach to something.<br>><br>>Mentioning of GDB server protocol shouldn't confuse you, it's just a name<br>>of a text protocol LLDB client uses to talk to LLDB server [1]. LLDB tries<br>>to be compatible with GDB in this aspect.<br>><br>><br>>[1] <a href="https://sourceware.org/gdb/onlinedocs/gdb/Remote-Protocol.html">https://sourceware.org/gdb/onlinedocs/gdb/Remote-Protocol.html</a></p><p style="margin:0px"><br><font face="arial, sans-serif">------------------------------------------------------------------------------</font></p><p style="margin:0px"><font face="arial, sans-serif">Mark Nelson – <a href="mailto:markn@ieee.org" target="_blank">markn@ieee.org</a> - <a href="http://marknelson.us" target="_blank">http://marknelson.us</a></font></p></span></div></div>
<br><div class="gmail_quote"><br></div></div></div>