<div dir="ltr">Hello,<div><br></div><div>Now I doubt about these changes because I had mixed (gdb) hard coded prompt and prompt of MI (that can be changed or disabled). I'll prepare another patch which will fix this.</div><div><br></div><div>Thanks,</div><div>Ilia</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Mon, Dec 22, 2014 at 2:43 PM, Ilia K <span dir="ltr"><<a href="mailto:ki.stfu@gmail.com" target="_blank">ki.stfu@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div>Hello,</div><div><br></div><div><div>My previous letter is left without answer. I'm sending it again (see below).<br></div></div><div><br></div><div>Thanks,</div><div>Ilia</div><br><div class="gmail_quote"><span class="">---------- Forwarded message ----------<br>From: <b class="gmail_sendername">Ilia K</b> <span dir="ltr"><<a href="mailto:ki.stfu@gmail.com" target="_blank">ki.stfu@gmail.com</a>></span><br></span><div><div class="h5">Date: Wed, Dec 17, 2014 at 6:04 PM<br>Subject: Fwd: [Lldb-commits] [PATCH] lldb-mi: print the prompt after commands<br>To: "<a href="mailto:lldb-commits@cs.uiuc.edu" target="_blank">lldb-commits@cs.uiuc.edu</a>" <<a href="mailto:lldb-commits@cs.uiuc.edu" target="_blank">lldb-commits@cs.uiuc.edu</a>><br><br><br><div dir="ltr"><div>Hello,</div><div><br></div><div>It seems my previous message wasn't included in the mailing list. See it below, please.</div><div><br></div><div>Thanks,</div><div>Ilia</div><div><div><br><div class="gmail_quote">---------- Forwarded message ----------<br>From: <b class="gmail_sendername">Ilia K</b> <span dir="ltr"><<a href="mailto:ki.stfu@gmail.com" target="_blank">ki.stfu@gmail.com</a>></span><br>Date: Tue, Dec 16, 2014 at 3:43 PM<br>Subject: [Lldb-commits] [PATCH] lldb-mi: print the prompt after commands<br>To: "Abid, Hafiz" <<a href="mailto:Hafiz_Abid@mentor.com" target="_blank">Hafiz_Abid@mentor.com</a>>, "<a href="mailto:lldb-commits@cs.uiuc.edu" target="_blank">lldb-commits@cs.uiuc.edu</a>" <<a href="mailto:lldb-commits@cs.uiuc.edu" target="_blank">lldb-commits@cs.uiuc.edu</a>><br><br><div dir="ltr">Hello,<div><br></div><div><div>This patch contains the fix of prompt's printing after commands in MI mode.</div><div><br></div><div>Previously the prompt was printed in MICmnStreamStdin::MonitorStdin before ::fgets() was called what was wrong because lldb-mi has separate thread to read user's input. Therefore prompt was printed after each user's input even if command hadn't been executed. In this patch prompt is printed after the command is executed.</div><div>Also, early the prompt was declared in different places. I have refactored this code and have moved it to CMICmnStreamStdout::WritePrompt function.</div><div>And finally I added checks for my improvements in TestMiBreakpoint test.</div></div><div><br></div><div>Thanks,</div><div>Ilia</div></div>
</div></div></div></div>
</div></div></div><br></div>
</blockquote></div><br></div>