diff options
author | Jim Ingham <jingham@apple.com> | 2012-03-01 00:50:50 +0000 |
---|---|---|
committer | Jim Ingham <jingham@apple.com> | 2012-03-01 00:50:50 +0000 |
commit | b5c0d1ccbd7e42ea6f26767436d1dc33bee1989f (patch) | |
tree | 023318a13237bc54ad058d61cad776e34ea39a66 /lldb/source/Target/ThreadPlan.cpp | |
parent | 76e66c31a0481e72d1ff86c56028d850b6c33cff (diff) | |
download | bcm5719-llvm-b5c0d1ccbd7e42ea6f26767436d1dc33bee1989f.tar.gz bcm5719-llvm-b5c0d1ccbd7e42ea6f26767436d1dc33bee1989f.zip |
Convert the thread plans over from using the stack count to do their logic to using StackID's. This
should be more efficient.
llvm-svn: 151780
Diffstat (limited to 'lldb/source/Target/ThreadPlan.cpp')
-rw-r--r-- | lldb/source/Target/ThreadPlan.cpp | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/lldb/source/Target/ThreadPlan.cpp b/lldb/source/Target/ThreadPlan.cpp index ad45ad2adf8..e47a4b59afe 100644 --- a/lldb/source/Target/ThreadPlan.cpp +++ b/lldb/source/Target/ThreadPlan.cpp @@ -101,7 +101,8 @@ ThreadPlan::ShouldReportStop (Event *event_ptr) { Vote prev_vote = prev_plan->ShouldReportStop (event_ptr); if (log) - log->Printf ("ThreadPlan::ShouldReportStop() returning previous thread plan vote: %s", GetVoteAsCString (prev_vote)); + log->Printf ("ThreadPlan::ShouldReportStop() returning previous thread plan vote: %s", + GetVoteAsCString (prev_vote)); return prev_vote; } } @@ -153,7 +154,8 @@ ThreadPlan::WillResume (StateType resume_state, bool current_plan) addr_t pc = reg_ctx->GetPC(); addr_t sp = reg_ctx->GetSP(); addr_t fp = reg_ctx->GetFP(); - log->Printf("%s Thread #%u: tid = 0x%4.4llx, pc = 0x%8.8llx, sp = 0x%8.8llx, fp = 0x%8.8llx, plan = '%s', state = %s, stop others = %d", + log->Printf("%s Thread #%u: tid = 0x%4.4llx, pc = 0x%8.8llx, sp = 0x%8.8llx, fp = 0x%8.8llx, " + "plan = '%s', state = %s, stop others = %d", __FUNCTION__, m_thread.GetIndexID(), m_thread.GetID(), |