/external/lldb/tools/debugserver/source/MacOSX/ |
MachThreadList.cpp | 36 MachThreadSP thread_sp (GetThreadByID (tid)); 37 if (thread_sp) 38 return thread_sp->GetState(); 45 MachThreadSP thread_sp (GetThreadByID (tid)); 46 if (thread_sp) 47 return thread_sp->GetName(); 54 MachThreadSP thread_sp (GetThreadByID (tid)); 55 if (thread_sp) 57 m_current_thread = thread_sp; 67 MachThreadSP thread_sp (GetThreadByID (tid)) 103 MachThreadSP thread_sp; local 120 MachThreadSP thread_sp; local 137 MachThreadSP thread_sp; local 153 MachThreadSP thread_sp; local 222 MachThreadSP thread_sp; local [all...] |
MachProcess.cpp | 171 MachThreadSP thread_sp(m_thread_list.GetThreadByID(tid)); 172 if (!thread_sp) 174 kern_return_t kret = ::thread_abort_safely(thread_sp->MachPortNumber()); 175 DNBLogThreadedIf (LOG_THREAD, "thread = 0x%8.8" PRIx32 " calling thread_abort_safely (tid) => %u (GetGPRState() for stop_count = %u)", thread_sp->MachPortNumber(), kret, thread_sp->Process()->StopCount()); 237 MachThreadSP thread_sp (m_thread_list.GetThreadByID (tid)); 238 if (thread_sp) 240 DNBArchProtocol *arch = thread_sp->GetArchProtocol(); [all...] |
/external/lldb/source/Target/ |
StopInfo.cpp | 50 ThreadSP thread_sp (m_thread_wp.lock()); 51 if (thread_sp) 52 return thread_sp->GetProcess()->GetStopID() == m_stop_id; 59 ThreadSP thread_sp (m_thread_wp.lock()); 60 if (thread_sp) 62 m_stop_id = thread_sp->GetProcess()->GetStopID(); 63 m_resume_id = thread_sp->GetProcess()->GetResumeID(); 70 ThreadSP thread_sp (m_thread_wp.lock()); 72 if (thread_sp) 74 lldb::StateType ret_type = thread_sp->GetProcess()->GetPrivateState() [all...] |
ThreadList.cpp | 82 ThreadList::AddThread (const ThreadSP &thread_sp) 85 m_threads.push_back(thread_sp); 104 ThreadSP thread_sp; local 106 thread_sp = m_threads[idx]; 107 return thread_sp; 118 ThreadSP thread_sp; local 125 thread_sp = m_threads[idx]; 129 return thread_sp; 140 ThreadSP thread_sp; local 147 thread_sp = m_threads[idx] 163 ThreadSP thread_sp; local 186 ThreadSP thread_sp; local 204 ThreadSP thread_sp; local 233 ThreadSP thread_sp; local 672 ThreadSP thread_sp = FindThreadByID(m_selected_tid); local [all...] |
OperatingSystem.cpp | 61 OperatingSystem::IsOperatingSystemPluginThread (const lldb::ThreadSP &thread_sp) 63 if (thread_sp) 64 return thread_sp->IsOperatingSystemPluginThread();
|
ExecutionContext.cpp | 57 ExecutionContext::ExecutionContext (const lldb::ThreadSP &thread_sp) : 63 if (thread_sp) 64 SetContext (thread_sp); 105 lldb::ThreadSP thread_sp(thread_wp.lock()); 106 if (thread_sp) 107 SetContext (thread_sp); 337 ExecutionContext::SetThreadSP (const lldb::ThreadSP &thread_sp) 339 m_thread_sp = thread_sp; 409 ExecutionContext::SetContext (const lldb::ThreadSP &thread_sp) 412 m_thread_sp = thread_sp; [all...] |
StackFrame.cpp | 47 StackFrame::StackFrame (const ThreadSP &thread_sp, 53 m_thread_wp (thread_sp), 74 StackFrame::StackFrame (const ThreadSP &thread_sp, 81 m_thread_wp (thread_sp), 109 StackFrame::StackFrame (const ThreadSP &thread_sp, 116 m_thread_wp (thread_sp), 120 m_id (pc_addr.GetLoadAddress (thread_sp->CalculateTarget().get()), cfa, NULL), 205 ThreadSP thread_sp = GetThread(); local 206 if (thread_sp) 207 return thread_sp->GetStackFrameList()->GetVisibleStackFrameIndex(m_frame_index) [all...] |
Thread.cpp | 154 Thread::ThreadEventData::ThreadEventData (const lldb::ThreadSP thread_sp) : 155 m_thread_sp (thread_sp), 160 Thread::ThreadEventData::ThreadEventData (const lldb::ThreadSP thread_sp, const StackID &stack_id) : 161 m_thread_sp (thread_sp), 197 ThreadSP thread_sp; local 200 thread_sp = event_data->GetThread(); 201 return thread_sp; 221 ThreadSP thread_sp = event_data->GetThread(); local 222 if (thread_sp) 224 frame_sp = thread_sp->GetStackFrameList()->GetFrameWithStackID (event_data->GetStackID()) [all...] |
/external/lldb/source/Plugins/OperatingSystem/Python/ |
OperatingSystemPython.cpp | 210 ThreadSP thread_sp (CreateThreadFromThreadInfo (thread_dict, core_thread_list, old_thread_list, NULL)); 211 if (thread_sp) 212 new_thread_list.AddThread(thread_sp); 232 ThreadSP thread_sp; local 254 thread_sp = old_thread_list.FindThreadByID (tid, false); 255 if (thread_sp) 259 if (!IsOperatingSystemPluginThread(thread_sp)) 264 thread_sp.reset(); 268 if (!thread_sp) 272 thread_sp.reset (new ThreadMemory (*m_process [all...] |
/external/lldb/source/Plugins/Process/Utility/ |
ThreadMemory.h | 110 SetBackingThread (const lldb::ThreadSP &thread_sp) 112 //printf ("Thread 0x%llx is being backed by thread 0x%llx\n", GetID(), thread_sp->GetID()); 113 m_backing_thread_sp = thread_sp; 114 return (bool)thread_sp;
|
RegisterContextThreadMemory.cpp | 38 ThreadSP thread_sp (m_thread_wp.lock()); 39 if (thread_sp) 41 ProcessSP process_sp (thread_sp->GetProcess()); 53 ThreadSP backing_thread_sp (thread_sp->GetBackingThread()); 61 if (os->IsOperatingSystemPluginThread (thread_sp)) 62 m_reg_ctx_sp = os->CreateRegisterContextForThread (thread_sp.get(), LLDB_INVALID_ADDRESS);
|
/external/lldb/include/lldb/Target/ |
OperatingSystem.h | 88 IsOperatingSystemPluginThread (const lldb::ThreadSP &thread_sp);
|
StackFrame.h | 45 StackFrame (const lldb::ThreadSP &thread_sp, 52 StackFrame (const lldb::ThreadSP &thread_sp, 60 StackFrame (const lldb::ThreadSP &thread_sp,
|
ExecutionContext.h | 204 /// referenced in \a thread_sp. 206 /// If \a thread_sp is valid this object will create a weak 218 SetThreadSP (const lldb::ThreadSP &thread_sp); 395 ExecutionContext (const lldb::ThreadSP &thread_sp); 643 SetThreadSP (const lldb::ThreadSP &thread_sp); 702 // If "thread_sp" is valid, then set the thread, process and target 704 // If "thread_sp" is not valid, all shared pointers are reset. 707 SetContext (const lldb::ThreadSP &thread_sp); [all...] |
StopInfo.h | 44 SetThread (const lldb::ThreadSP &thread_sp) 46 m_thread_wp = thread_sp;
|
ThreadList.h | 45 AddThread (const lldb::ThreadSP &thread_sp);
|
Thread.h | 83 ThreadEventData (const lldb::ThreadSP thread_sp); 85 ThreadEventData (const lldb::ThreadSP thread_sp, const StackID &stack_id); 428 SetBackingThread (const lldb::ThreadSP &thread_sp) [all...] |
/external/lldb/source/Plugins/Process/gdb-remote/ |
ProcessGDBRemote.cpp | 1454 ThreadSP thread_sp; local 1859 ThreadSP thread_sp = threads.GetThreadAtIndex(i); local 1894 ThreadSP thread_sp = threads.GetThreadAtIndex(i); local [all...] |
/external/lldb/source/Plugins/Process/MacOSX-Kernel/ |
ProcessKDP.cpp | 525 ThreadSP thread_sp (m_kernel_thread_wp.lock()); 526 if (!thread_sp) 528 thread_sp.reset(new ThreadKDP (*this, g_kernel_tid)); 529 m_kernel_thread_wp = thread_sp; 531 return thread_sp; 547 ThreadSP thread_sp (old_thread_list.FindThreadByProtocolID(g_kernel_tid, false)); 548 if (!thread_sp) 549 thread_sp = GetKernelThread (); 550 new_thread_list.AddThread(thread_sp); 886 ThreadSP thread_sp (process->GetKernelThread()) [all...] |
/external/lldb/source/API/ |
SBProcess.cpp | 264 ThreadSP thread_sp; local 269 thread_sp = process_sp->GetThreadList().GetSelectedThread(); 270 sb_thread.SetThread (thread_sp); 275 log->Printf ("SBProcess(%p)::GetSelectedThread () => SBThread(%p)", process_sp.get(), thread_sp.get()); 287 ThreadSP thread_sp; local 292 thread_sp = process_sp->CreateOSPluginThread(tid, context); 293 sb_thread.SetThread (thread_sp); 297 log->Printf ("SBProcess(%p)::CreateOSPluginThread (tid=0x%" PRIx64 ", context=0x%" PRIx64 ") => SBThread(%p)", process_sp.get(), tid, context, thread_sp.get()); 513 ThreadSP thread_sp; local 520 thread_sp = process_sp->GetThreadList().GetThreadAtIndex(index, can_update) 850 ThreadSP thread_sp; local 877 ThreadSP thread_sp; local [all...] |
SBThread.cpp | 439 ThreadSP thread_sp(m_opaque_sp->GetThreadSP()); 440 if (thread_sp) 441 return thread_sp->GetID(); 448 ThreadSP thread_sp(m_opaque_sp->GetThreadSP()); 449 if (thread_sp) 450 return thread_sp->GetIndexID(); [all...] |
/external/lldb/source/Plugins/Process/POSIX/ |
ProcessPOSIX.cpp | 516 ThreadSP thread_sp; local 517 thread_sp.reset(CreateNewPOSIXThread(*this, child_tid)); 521 m_thread_list.AddThread(thread_sp); 537 ThreadSP thread_sp = m_thread_list.RemoveThreadByID(tid, false); local 538 thread_sp.reset(); 825 ThreadSP thread_sp (old_thread_list.FindThreadByID (GetID(), false)); 826 if (!thread_sp) { 827 thread_sp.reset(CreateNewPOSIXThread(*this, GetID())); 832 new_thread_list.AddThread(thread_sp);
|
/external/lldb/source/Plugins/Process/mach-core/ |
ProcessMachCore.cpp | 354 ThreadSP thread_sp(new ThreadMachCore (*this, tid)); 355 new_thread_list.AddThread (thread_sp);
|
/external/lldb/source/Commands/ |
CommandObjectThread.cpp | 190 ThreadSP thread_sp = process->GetThreadList().GetThreadAtIndex(i); local 191 if (!thread_sp->GetStatus (strm, 1441 ThreadSP thread_sp = m_exe_ctx.GetThreadSP(); local [all...] |
/external/lldb/source/Plugins/Process/elf-core/ |
ProcessElfCore.cpp | 234 lldb::ThreadSP thread_sp(new ThreadElfCore (*this, tid, td)); 235 new_thread_list.AddThread (thread_sp);
|