[Lldb-commits] [lldb] r227285 - SBThread::GetDescription should use the Thread format instead of making up

jingham at apple.com jingham at apple.com
Fri Feb 6 09:18:16 PST 2015


Thanks, dunno how I missed that.

Jim

> On Feb 6, 2015, at 5:34 AM, Ilia K <ki.stfu at gmail.com> wrote:
> 
> 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
> 





More information about the lldb-commits mailing list