summaryrefslogtreecommitdiffstats
path: root/lldb/source/Target/ThreadPlan.cpp
diff options
context:
space:
mode:
authorJim Ingham <jingham@apple.com>2013-06-22 00:27:45 +0000
committerJim Ingham <jingham@apple.com>2013-06-22 00:27:45 +0000
commitdee1bc98f9d9dcbb7ea60fc6af699ddda315955c (patch)
treef271491f2dcf0a6bad368574495d009d3828783a /lldb/source/Target/ThreadPlan.cpp
parent27982c70fc349da9e63d44367dd63e66c464bcc3 (diff)
downloadbcm5719-llvm-dee1bc98f9d9dcbb7ea60fc6af699ddda315955c.tar.gz
bcm5719-llvm-dee1bc98f9d9dcbb7ea60fc6af699ddda315955c.zip
Add some useful logging for tracking thread matching problems.
llvm-svn: 184619
Diffstat (limited to 'lldb/source/Target/ThreadPlan.cpp')
-rw-r--r--lldb/source/Target/ThreadPlan.cpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/lldb/source/Target/ThreadPlan.cpp b/lldb/source/Target/ThreadPlan.cpp
index bc0ce57f9fc..ba35db19cf3 100644
--- a/lldb/source/Target/ThreadPlan.cpp
+++ b/lldb/source/Target/ThreadPlan.cpp
@@ -159,10 +159,11 @@ 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.4" PRIx64 ", pc = 0x%8.8" PRIx64 ", sp = 0x%8.8" PRIx64 ", fp = 0x%8.8" PRIx64 ", "
+ log->Printf("%s Thread #%u (0x%p): tid = 0x%4.4" PRIx64 ", pc = 0x%8.8" PRIx64 ", sp = 0x%8.8" PRIx64 ", fp = 0x%8.8" PRIx64 ", "
"plan = '%s', state = %s, stop others = %d",
__FUNCTION__,
- m_thread.GetIndexID(),
+ m_thread.GetIndexID(),
+ &m_thread,
m_thread.GetID(),
(uint64_t)pc,
(uint64_t)sp,
OpenPOWER on IntegriCloud