[Lldb-commits] [PATCH 2/4] Display proper value in log message.

Stephen Wilson wilsons at start.ca
Tue Jan 18 13:11:42 PST 2011


---
 source/Target/ThreadPlanStepRange.cpp |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/source/Target/ThreadPlanStepRange.cpp b/source/Target/ThreadPlanStepRange.cpp
index a1b958e..7646dc3 100644
--- a/source/Target/ThreadPlanStepRange.cpp
+++ b/source/Target/ThreadPlanStepRange.cpp
@@ -88,7 +88,7 @@ ThreadPlanStepRange::ShouldReportStop (Event *event_ptr)
 
     const Vote vote = IsPlanComplete() ? eVoteYes : eVoteNo;
     if (log)
-        log->Printf ("ThreadPlanStepRange::ShouldReportStop() returning vote %i\n", eVoteYes);
+        log->Printf ("ThreadPlanStepRange::ShouldReportStop() returning vote %i\n", vote);
     return vote;
 }
 
-- 
1.7.3.5




More information about the lldb-commits mailing list