[Lldb-commits] [lldb] r227285 - SBThread::GetDescription should use the Thread format instead of making up
Jim Ingham
jingham at apple.com
Tue Jan 27 17:18:01 PST 2015
Author: jingham
Date: Tue Jan 27 19:18:01 2015
New Revision: 227285
URL: http://llvm.org/viewvc/llvm-project?rev=227285&view=rev
Log:
SBThread::GetDescription should use the Thread format instead of making up
some format of its own.
Modified:
lldb/trunk/source/API/SBThread.cpp
Modified: lldb/trunk/source/API/SBThread.cpp
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/source/API/SBThread.cpp?rev=227285&r1=227284&r2=227285&view=diff
==============================================================================
--- lldb/trunk/source/API/SBThread.cpp (original)
+++ lldb/trunk/source/API/SBThread.cpp Tue Jan 27 19:18:01 2015
@@ -1491,7 +1491,8 @@ SBThread::GetDescription (SBStream &desc
ExecutionContext exe_ctx (m_opaque_sp.get());
if (exe_ctx.HasThreadScope())
{
- strm.Printf("SBThread: tid = 0x%4.4" PRIx64, exe_ctx.GetThreadPtr()->GetID());
+ exe_ctx.GetThreadPtr()->DumpUsingSettingsFormat(strm, LLDB_INVALID_THREAD_ID);
+ //strm.Printf("SBThread: tid = 0x%4.4" PRIx64, exe_ctx.GetThreadPtr()->GetID());
}
else
strm.PutCString ("No value");
More information about the lldb-commits
mailing list