Hello, 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.
Thanks, Ilia On Mon, Dec 22, 2014 at 2:43 PM, Ilia K <[email protected]> wrote: > Hello, > > My previous letter is left without answer. I'm sending it again (see > below). > > Thanks, > Ilia > > ---------- Forwarded message ---------- > From: Ilia K <[email protected]> > Date: Wed, Dec 17, 2014 at 6:04 PM > Subject: Fwd: [Lldb-commits] [PATCH] lldb-mi: print the prompt after > commands > To: "[email protected]" <[email protected]> > > > Hello, > > It seems my previous message wasn't included in the mailing list. See it > below, please. > > Thanks, > Ilia > > ---------- Forwarded message ---------- > From: Ilia K <[email protected]> > Date: Tue, Dec 16, 2014 at 3:43 PM > Subject: [Lldb-commits] [PATCH] lldb-mi: print the prompt after commands > To: "Abid, Hafiz" <[email protected]>, "[email protected]" < > [email protected]> > > 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 > >
_______________________________________________ lldb-commits mailing list [email protected] http://lists.cs.uiuc.edu/mailman/listinfo/lldb-commits
