summaryrefslogtreecommitdiffstats
path: root/lldb/source/API/SBThread.cpp
diff options
context:
space:
mode:
authorJim Ingham <jingham@apple.com>2015-01-28 01:18:01 +0000
committerJim Ingham <jingham@apple.com>2015-01-28 01:18:01 +0000
commit603985fc37591d618199fdc631d61dea1ef8453e (patch)
tree01ba358caf15b042ae59b431d7d78f5e0865d77c /lldb/source/API/SBThread.cpp
parent4af6415237afc23d8c35979cff25fa1ae84dddd3 (diff)
downloadbcm5719-llvm-603985fc37591d618199fdc631d61dea1ef8453e.tar.gz
bcm5719-llvm-603985fc37591d618199fdc631d61dea1ef8453e.zip
SBThread::GetDescription should use the Thread format instead of making up
some format of its own. llvm-svn: 227285
Diffstat (limited to 'lldb/source/API/SBThread.cpp')
-rw-r--r--lldb/source/API/SBThread.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/lldb/source/API/SBThread.cpp b/lldb/source/API/SBThread.cpp
index 6524d10fb70..9fe0d029496 100644
--- 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");
OpenPOWER on IntegriCloud