projects
/
platform
/
upstream
/
llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4af6415
)
SBThread::GetDescription should use the Thread format instead of making up
author
Jim Ingham
<jingham@apple.com>
Wed, 28 Jan 2015 01:18:01 +0000
(
01:18
+0000)
committer
Jim Ingham
<jingham@apple.com>
Wed, 28 Jan 2015 01:18:01 +0000
(
01:18
+0000)
some format of its own.
llvm-svn: 227285
lldb/source/API/SBThread.cpp
patch
|
blob
|
history
diff --git
a/lldb/source/API/SBThread.cpp
b/lldb/source/API/SBThread.cpp
index
6524d10
..
9fe0d02
100644
(file)
--- a/
lldb/source/API/SBThread.cpp
+++ b/
lldb/source/API/SBThread.cpp
@@
-1491,7
+1491,8
@@
SBThread::GetDescription (SBStream &description) const
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");