the log entry for SBThread::GetProcess() would not include the pointer to the process because we were using the value of the (otherwise unused) process_sp - instead of fetching the SP from sb_process
llvm-svn: 176231
This commit is contained in:
parent
a22cd706a2
commit
0a2df227fc
|
@ -994,9 +994,7 @@ SBThread::IsSuspended()
|
|||
SBProcess
|
||||
SBThread::GetProcess ()
|
||||
{
|
||||
|
||||
SBProcess sb_process;
|
||||
ProcessSP process_sp;
|
||||
ExecutionContext exe_ctx (m_opaque_sp.get());
|
||||
if (exe_ctx.HasThreadScope())
|
||||
{
|
||||
|
@ -1010,7 +1008,7 @@ SBThread::GetProcess ()
|
|||
SBStream frame_desc_strm;
|
||||
sb_process.GetDescription (frame_desc_strm);
|
||||
log->Printf ("SBThread(%p)::GetProcess () => SBProcess(%p): %s", exe_ctx.GetThreadPtr(),
|
||||
process_sp.get(), frame_desc_strm.GetData());
|
||||
sb_process.GetSP().get(), frame_desc_strm.GetData());
|
||||
}
|
||||
|
||||
return sb_process;
|
||||
|
|
Loading…
Reference in New Issue