[Lldb-commits] [lldb] r227285 - SBThread::GetDescription should use the Thread format instead of making up
Ilia K
ki.stfu at gmail.com
Fri Feb 6 05:34:06 PST 2015
Hello,
It broke a test. See http://reviews.llvm.org/D7464
Thanks,
Ilia
On Wed, Jan 28, 2015 at 4:18 AM, Jim Ingham <jingham at apple.com> wrote:
> 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");
>
>
> _______________________________________________
> lldb-commits mailing list
> lldb-commits at cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/lldb-commits
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/lldb-commits/attachments/20150206/c6705d5b/attachment.html>
More information about the lldb-commits
mailing list