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



_______________________________________________
lldb-commits mailing list
lldb-commits@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits

Reply via email to