Searched refs:thread_sp (Results 1 - 25 of 34) sorted by relevance

12

/external/lldb/tools/debugserver/source/MacOSX/
H A DMachThreadList.cpp36 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 (GetThreadByI
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
335 CurrentThread(MachThreadSP& thread_sp) argument
[all...]
H A DMachProcess.cpp171 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();
/external/lldb/source/Target/
H A DStopInfo.cpp50 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
[all...]
H A DThreadList.cpp82 ThreadList::AddThread (const ThreadSP &thread_sp) argument
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
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...]
H A DOperatingSystem.cpp61 OperatingSystem::IsOperatingSystemPluginThread (const lldb::ThreadSP &thread_sp) argument
63 if (thread_sp)
64 return thread_sp->IsOperatingSystemPluginThread();
H A DExecutionContext.cpp57 ExecutionContext::ExecutionContext (const lldb::ThreadSP &thread_sp) : argument
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) argument
339 m_thread_sp = thread_sp;
409 ExecutionContext::SetContext (const lldb::ThreadSP &thread_sp) argument
412 m_thread_sp = thread_sp;
644 SetThreadSP(const lldb::ThreadSP &thread_sp) argument
[all...]
H A DStackFrame.cpp47 StackFrame::StackFrame (const ThreadSP &thread_sp, argument
53 m_thread_wp (thread_sp),
74 StackFrame::StackFrame (const ThreadSP &thread_sp, argument
81 m_thread_wp (thread_sp),
109 StackFrame::StackFrame (const ThreadSP &thread_sp, argument
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
[all...]
H A DThread.cpp154 Thread::ThreadEventData::ThreadEventData (const lldb::ThreadSP thread_sp) : argument
155 m_thread_sp (thread_sp),
160 Thread::ThreadEventData::ThreadEventData (const lldb::ThreadSP thread_sp, const StackID &stack_id) : argument
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
[all...]
/external/lldb/source/Plugins/OperatingSystem/Python/
H A DOperatingSystemPython.cpp210 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
[all...]
/external/lldb/source/Plugins/Process/Utility/
H A DRegisterContextThreadMemory.cpp38 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);
H A DThreadMemory.h110 SetBackingThread (const lldb::ThreadSP &thread_sp) argument
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;
/external/lldb/include/lldb/Target/
H A DExecutionContext.h204 /// 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);
H A DOperatingSystem.h88 IsOperatingSystemPluginThread (const lldb::ThreadSP &thread_sp);
H A DStackFrame.h45 StackFrame (const lldb::ThreadSP &thread_sp,
52 StackFrame (const lldb::ThreadSP &thread_sp,
60 StackFrame (const lldb::ThreadSP &thread_sp,
H A DStopInfo.h44 SetThread (const lldb::ThreadSP &thread_sp) argument
46 m_thread_wp = thread_sp;
H A DThreadList.h45 AddThread (const lldb::ThreadSP &thread_sp);
H A DThread.h83 ThreadEventData (const lldb::ThreadSP thread_sp);
85 ThreadEventData (const lldb::ThreadSP thread_sp, const StackID &stack_id);
428 SetBackingThread (const lldb::ThreadSP &thread_sp) argument
/external/lldb/source/Plugins/Process/gdb-remote/
H A DProcessGDBRemote.cpp1375 ThreadSP thread_sp (old_thread_list_copy.RemoveThreadByProtocolID(tid, false));
1376 if (!thread_sp)
1378 thread_sp.reset (new ThreadGDBRemote (*this, tid));
1383 thread_sp.get(),
1384 thread_sp->GetID());
1392 thread_sp.get(),
1393 thread_sp->GetID());
1395 new_thread_list.AddThread(thread_sp);
1454 ThreadSP thread_sp; local
1477 thread_sp
1859 ThreadSP thread_sp = threads.GetThreadAtIndex(i); local
1894 ThreadSP thread_sp = threads.GetThreadAtIndex(i); local
[all...]
/external/lldb/source/Plugins/Process/MacOSX-Kernel/
H A DProcessKDP.cpp525 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 (proces
[all...]
/external/lldb/source/API/
H A DSBProcess.cpp264 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
850 ThreadSP thread_sp; local
877 ThreadSP thread_sp; local
[all...]
H A DSBThread.cpp439 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();
/external/lldb/source/Plugins/Process/POSIX/
H A DProcessPOSIX.cpp516 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/
H A DProcessMachCore.cpp354 ThreadSP thread_sp(new ThreadMachCore (*this, tid));
355 new_thread_list.AddThread (thread_sp);
/external/lldb/source/Commands/
H A DCommandObjectThread.cpp190 ThreadSP thread_sp = process->GetThreadList().GetThreadAtIndex(i); local
191 if (!thread_sp->GetStatus (strm,
1441 ThreadSP thread_sp = m_exe_ctx.GetThreadSP(); local
1443 error = thread_sp->ReturnFromFrame (frame_sp, return_valobj_sp, broadcast);
1446 result.AppendErrorWithFormat("Error returning from frame %d of thread %d: %s.", frame_idx, thread_sp->GetIndexID(), error.AsCString());
/external/lldb/source/Plugins/Process/elf-core/
H A DProcessElfCore.cpp234 lldb::ThreadSP thread_sp(new ThreadElfCore (*this, tid, td));
235 new_thread_list.AddThread (thread_sp);

Completed in 254 milliseconds

12