Hello,

This patch contains the fix of prompt's printing after commands in MI mode.

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.
Also, early the prompt was declared in different places. I have refactored
this code and have moved it to CMICmnStreamStdout::WritePrompt function.
And finally I added checks for my improvements in TestMiBreakpoint test.

Thanks,
Ilia

Attachment: lldbmi_fix_prompt_gdb.v7.patch
Description: Binary data

_______________________________________________
lldb-commits mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/lldb-commits

Reply via email to