[Lldb-commits] [PATCH] D18335: Fix for missing prompt on Windows
Adrian McCarthy via lldb-commits
lldb-commits at lists.llvm.org
Mon Mar 21 15:32:34 PDT 2016
amccarth added a comment.
Here's a snippet of output with this fix patched in on Windows. Note the extra (lldb) prompts on the lines beginning with "Process 10672..."
(lldb) br set -l 22
Breakpoint 1: where = a.exe`main + 20 at fizzbuzz.cpp:22, address = 0x0040e074
(lldb) run
Process 10672 launching
(lldb) Process 10672 launched: 'd:\src\fizzbuzz\a.exe' (i686)
(lldb) Process 10672 stopped
- thread #1: tid = 0x43c8, 0x00e4e074 a.exe`main + 20 at fizzbuzz.cpp:22, stop reason = breakpoint 1.1 frame #0: 0x00e4e074 a.exe`main + 20 at fizzbuzz.cpp:22 19 { 20 int *buggy = 0; 21
-> 22 for (int i = 1; i <= 100; ++i)
23 {
24 if (fizz(i)) std::cout << "fizz";
25 if (buzz(i)) std::cout << "buzz";
(lldb)
Without this patch, those extra prompts are not there, but neither is the final prompt. So it's broken both with and without this patch. With the patch is arguably better than without.
http://reviews.llvm.org/D18335
More information about the lldb-commits
mailing list