<div dir="ltr"><div class="gmail_default" style="font-family:arial,helvetica,sans-serif;font-size:small;color:rgb(0,0,0)">AFAIK, there is no mechanism in lldb-mi to distinguish a command that expects a frame, so we need to modify each command manually. Am I right?<br>If so, I found the Process::WaitForProcessToStop method which we can add to SB API and use in lldb-mi.</div><br><div class="gmail_quote"><div dir="ltr">сб, 11 авг. 2018 г. в 0:50, Adrian Prantl <<a href="mailto:aprantl@apple.com" target="_blank">aprantl@apple.com</a>>:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">[adding lldb-dev back to the conversation]<br>
<br>
> On Aug 10, 2018, at 2:37 PM, Adrian Prantl <<a href="mailto:aprantl@apple.com" target="_blank">aprantl@apple.com</a>> wrote:<br>
> <br>
> <br>
> <br>
>> On Aug 10, 2018, at 2:25 PM, Александр Поляков <<a href="mailto:polyakov.alx@gmail.com" target="_blank">polyakov.alx@gmail.com</a>> wrote:<br>
>> <br>
>> I didn't check this yet. lldb-mi already runs LIT test in the --synchronous mode and the tests keep failing.<br>
>> <br>
> <br>
> Yes, that's why I said this:<br>
> <br>
> <br>
>>> пт, 10 авг. 2018 г. в 23:57, Adrian Prantl <<a href="mailto:aprantl@apple.com" target="_blank">aprantl@apple.com</a>>:<br>
>>> <br>
>>> Before we continue to discuss -wait-for-breakpoint; where you actually able to verify my suspicion that that is what is happening on the bots? Fred suggested to me offline today that in synchronous mode, perhaps -exec-* should be waiting for the process to be stopped, which would also sound like a reasonable and less invasive solution to the problem.<br>
>>> <br>
>> <br>
> <br>
> Instead of adding a new command to wait for the process to be stopped we might be able to just wait for the process to be stopped if in synchronous mode and we are running any commands that expect a frame (such as -exec-*).<br>
> <br>
> -- adrian<br>
<br>
</blockquote></div></div><br clear="all"><div><br></div>-- <br><div dir="ltr" class="m_6286274387205638705gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div><span style="color:rgb(0,0,0);font-family:arial,helvetica,sans-serif;font-size:12.8px">Alexander</span><br></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div>