diff options
author | Greg Clayton <gclayton@apple.com> | 2014-02-27 19:35:12 +0000 |
---|---|---|
committer | Greg Clayton <gclayton@apple.com> | 2014-02-27 19:35:12 +0000 |
commit | fdbad6d5d8d666d71045db94301a18f6cdb858d2 (patch) | |
tree | 62483842cf03c0f07e3f66d92acbb5c6cd75aa93 /lldb/source/Target/ThreadPlanBase.cpp | |
parent | 7a9c6549ba2c5bf178e6b054dd9860b72c0a5cb1 (diff) | |
download | bcm5719-llvm-fdbad6d5d8d666d71045db94301a18f6cdb858d2.tar.gz bcm5719-llvm-fdbad6d5d8d666d71045db94301a18f6cdb858d2.zip |
Improve logging a bit by printing the exception or signal type description.
llvm-svn: 202423
Diffstat (limited to 'lldb/source/Target/ThreadPlanBase.cpp')
-rw-r--r-- | lldb/source/Target/ThreadPlanBase.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lldb/source/Target/ThreadPlanBase.cpp b/lldb/source/Target/ThreadPlanBase.cpp index 240f23a0b8f..d70afae5557 100644 --- a/lldb/source/Target/ThreadPlanBase.cpp +++ b/lldb/source/Target/ThreadPlanBase.cpp @@ -151,7 +151,7 @@ ThreadPlanBase::ShouldStop (Event *event_ptr) // If we crashed, discard thread plans and stop. Don't force the discard, however, // since on rerun the target may clean up this exception and continue normally from there. if (log) - log->Printf("Base plan discarding thread plans for thread tid = 0x%4.4" PRIx64 " (exception.)", m_thread.GetID()); + log->Printf("Base plan discarding thread plans for thread tid = 0x%4.4" PRIx64 " (exception: %s)", m_thread.GetID(), stop_info_sp->GetDescription()); m_thread.DiscardThreadPlans(false); return true; @@ -168,7 +168,7 @@ ThreadPlanBase::ShouldStop (Event *event_ptr) if (stop_info_sp->ShouldStop(event_ptr)) { if (log) - log->Printf("Base plan discarding thread plans for thread tid = 0x%4.4" PRIx64 " (signal.)", m_thread.GetID()); + log->Printf("Base plan discarding thread plans for thread tid = 0x%4.4" PRIx64 " (signal: %s)", m_thread.GetID(), stop_info_sp->GetDescription()); m_thread.DiscardThreadPlans(false); return true; } |