[Lldb-commits] [lldb] r247111 - Fix log message warning in SBThread.

Bruce Mitchener via lldb-commits lldb-commits at lists.llvm.org
Tue Sep 8 17:56:26 PDT 2015


Author: brucem
Date: Tue Sep  8 19:56:25 2015
New Revision: 247111

URL: http://llvm.org/viewvc/llvm-project?rev=247111&view=rev
Log:
Fix log message warning in SBThread.

Summary:
The format string was not set up correctly as it was missing the %.
This resulted in a warning (correctly) that the data arguments were
not all used.

Reviewers: clayborg, jingham

Subscribers: lldb-commits

Differential Revision: http://reviews.llvm.org/D12714

Modified:
    lldb/trunk/source/API/SBThread.cpp

Modified: lldb/trunk/source/API/SBThread.cpp
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/source/API/SBThread.cpp?rev=247111&r1=247110&r2=247111&view=diff
==============================================================================
--- lldb/trunk/source/API/SBThread.cpp (original)
+++ lldb/trunk/source/API/SBThread.cpp Tue Sep  8 19:56:25 2015
@@ -886,7 +886,7 @@ SBThread::StepOutOfFrame (lldb::SBFrame
         Thread *thread = exe_ctx.GetThreadPtr();
         if (sb_frame.GetThread().GetThreadID() != thread->GetID())
         {
-            log->Printf("SBThread(%p)::StepOutOfFrame passed a frame from another thread (0x" PRIx64 " vrs. 0x" PRIx64 ", returning.",
+            log->Printf("SBThread(%p)::StepOutOfFrame passed a frame from another thread (0x%" PRIx64 " vrs. 0x%" PRIx64 ", returning.",
                         static_cast<void*>(exe_ctx.GetThreadPtr()),
                         sb_frame.GetThread().GetThreadID(),
                         thread->GetID());




More information about the lldb-commits mailing list