Re: [lldb-dev] [llvm-dev] Remotely launching a new process with LLDB

2017-11-29 Thread Greg Clayton via lldb-dev
Great! Please let us know what works for you and any features you might want out of LLDB's remote debugging as you use it day to day. Greg Clayton > On Nov 29, 2017, at 12:57 AM, Lior Halphon wrote: > > Thank you all very much! The script lines (especially "script > m.SetPlatformFileSpec("/bi

Re: [lldb-dev] race condition using gdb-remote over ssh port forwarding

2017-11-29 Thread Christopher Book via lldb-dev
I made a mistake and was not looking at the latest source. Looks like this exact issue was already discovered and fixed: https://reviews.llvm.org/D30255 I'm using 4.0.1, so it appears I need to upgrade. Chris On Wed, Nov 29, 2017 at 5:45 AM Pavel Labath wrote: > On 28 November 2017 at 20:54,

Re: [lldb-dev] race condition using gdb-remote over ssh port forwarding

2017-11-29 Thread Pavel Labath via lldb-dev
On 28 November 2017 at 18:31, Greg Clayton wrote: > >> On Nov 28, 2017, at 2:25 AM, Pavel Labath via lldb-dev >> wrote: >> The most port-forwarder-friendly solution (and one that I've been >> wanting to implement for a while, but never got around to it) I can >> think of is to not require a seco

Re: [lldb-dev] race condition using gdb-remote over ssh port forwarding

2017-11-29 Thread Pavel Labath via lldb-dev
On 28 November 2017 at 20:54, Christopher Book wrote: > Hi Pavel, I think you are on the right track in that it already does seem to > wait for the gdbserver to be up using a pipe. > > In StartDebugserverProcess it seems like there is a pipe created to tell > when the server is running. Here is a