Skip to content

Commit

Permalink
Fix log message warning in SBThread.
Browse files Browse the repository at this point in the history
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

llvm-svn: 247111
  • Loading branch information
waywardmonkeys committed Sep 9, 2015
1 parent 4f52e00 commit 1ef6e4c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lldb/source/API/SBThread.cpp
Expand Up @@ -886,7 +886,7 @@ SBThread::StepOutOfFrame (lldb::SBFrame &sb_frame)
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());
Expand Down

0 comments on commit 1ef6e4c

Please sign in to comment.