[Lldb-commits] [lldb] r242243 - Small fix to ThreadPlanStepRange::DumpRanges to logging

Jason Molenda jmolenda at apple.com
Tue Jul 14 16:17:29 PDT 2015


Author: jmolenda
Date: Tue Jul 14 18:17:29 2015
New Revision: 242243

URL: http://llvm.org/viewvc/llvm-project?rev=242243&view=rev
Log:
Small fix to ThreadPlanStepRange::DumpRanges to logging
output when stepping through multiple ranges.

Modified:
    lldb/trunk/source/Target/ThreadPlanStepRange.cpp

Modified: lldb/trunk/source/Target/ThreadPlanStepRange.cpp
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/source/Target/ThreadPlanStepRange.cpp?rev=242243&r1=242242&r2=242243&view=diff
==============================================================================
--- lldb/trunk/source/Target/ThreadPlanStepRange.cpp (original)
+++ lldb/trunk/source/Target/ThreadPlanStepRange.cpp Tue Jul 14 18:17:29 2015
@@ -127,7 +127,7 @@ ThreadPlanStepRange::DumpRanges(Stream *
     {
         for (size_t i = 0; i < num_ranges; i++)
         {
-            s->PutCString("%d: ");
+            s->Printf(" %d: ", i);
             m_address_ranges[i].Dump (s, m_thread.CalculateTarget().get(), Address::DumpStyleLoadAddress);
         }
     }





More information about the lldb-commits mailing list