diff options
| author | Greg Clayton <gclayton@apple.com> | 2010-09-03 22:45:01 +0000 |
|---|---|---|
| committer | Greg Clayton <gclayton@apple.com> | 2010-09-03 22:45:01 +0000 |
| commit | 1346f7e09825d6943c797d0071777220b24e8d3a (patch) | |
| tree | 1f90830afb950802dd981df27707bd9c9d2adef5 /lldb/source/Target/ThreadPlan.cpp | |
| parent | 725945d5680a38cd284de1a4e6780ced489590c4 (diff) | |
| download | llvm-1346f7e09825d6943c797d0071777220b24e8d3a.tar.gz llvm-1346f7e09825d6943c797d0071777220b24e8d3a.tar.bz2 llvm-1346f7e09825d6943c797d0071777220b24e8d3a.zip | |
Cleaned up step logging a bit.
llvm-svn: 113023
Diffstat (limited to 'lldb/source/Target/ThreadPlan.cpp')
| -rw-r--r-- | lldb/source/Target/ThreadPlan.cpp | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/lldb/source/Target/ThreadPlan.cpp b/lldb/source/Target/ThreadPlan.cpp index 9675292def57..dc701b9e83b1 100644 --- a/lldb/source/Target/ThreadPlan.cpp +++ b/lldb/source/Target/ThreadPlan.cpp @@ -98,12 +98,12 @@ 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\n", GetVoteAsCString (prev_vote)); + log->Printf ("ThreadPlan::ShouldReportStop() returning previous thread plan vote: %s", GetVoteAsCString (prev_vote)); return prev_vote; } } if (log) - log->Printf ("ThreadPlan::ShouldReportStop() returning vote %s\n", GetVoteAsCString (m_stop_vote)); + log->Printf ("ThreadPlan::ShouldReportStop() returning vote: %s", GetVoteAsCString (m_stop_vote)); return m_stop_vote; } @@ -143,7 +143,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("Thread #%u: tid = 0x%4.4x (pc = 0x%8.8llx, sp = 0x%8.8llx, fp = 0x%8.8llx) about to resume the \"%s\" plan - state: %s - stop others: %d.", + log->Printf("%s Thread #%u: tid = 0x%4.4x, 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(), (uint64_t)pc, |
