| /openbsd-src/gnu/usr.bin/binutils/gdb/ |
| H A D | thread.c | 54 static struct thread_info *thread_list = NULL; variable 77 for (tp = thread_list; tp; tp = tp->next) in delete_step_resume_breakpoint() 107 if (!thread_list) in init_thread_list() 110 for (tp = thread_list; tp; tp = tpnext) in init_thread_list() 116 thread_list = NULL; in init_thread_list() 131 tp->next = thread_list; in add_thread() 132 thread_list = tp; in add_thread() 143 for (tp = thread_list; tp; tpprev = tp, tp = tp->next) in delete_thread() 153 thread_list = tp->next; in delete_thread() 163 for (tp = thread_list; tp; tp = tp->next) in find_thread_id() [all …]
|
| H A D | procfs.c | 389 struct procinfo *thread_list; member 447 for (pi = pi->thread_list; pi; pi = pi->next) in find_procinfo() 722 pi->next = parent->thread_list; in create_procinfo() 723 parent->thread_list = pi; in create_procinfo() 790 destroy_one_procinfo (&tmp->thread_list, pi); in destroy_procinfo() 795 while (pi->thread_list != NULL) in destroy_procinfo() 796 destroy_one_procinfo (&pi->thread_list, pi->thread_list); in destroy_procinfo() 3156 destroy_one_procinfo (&parent->thread_list, thread); in proc_delete_dead_threads() 3362 for (thread = pi->thread_list; thread != NULL; thread = next) in proc_iterate_over_threads()
|
| /openbsd-src/gnu/usr.bin/binutils/gdb/testsuite/gdb.mi/ |
| H A D | mi-pthreads.exp | 60 set thread_list {} 72 lappend thread_list $num 77 return $thread_list 183 set thread_list [get_mi_thread_list "in check_mi_thread_command_set"] 193 foreach thread $thread_list {
|
| H A D | mi2-pthreads.exp | 60 set thread_list {} 72 lappend thread_list $num 77 return $thread_list 183 set thread_list [get_mi_thread_list "in check_mi_thread_command_set"] 193 foreach thread $thread_list {
|
| H A D | gdb669.exp | 56 set thread_list {} 68 lappend thread_list $num 73 return $thread_list
|
| /openbsd-src/gnu/llvm/lldb/tools/darwin-threads/ |
| H A D | examine-threads.c | 385 thread_array_t thread_list; in main() local 388 kr = task_threads(task, &thread_list, &thread_count); in main() 398 thread_basic_info_t basic_info = get_thread_basic_info(thread_list[i]); in main() 401 get_thread_identifier_info(thread_list[i]); in main() 404 uint64_t pc = get_current_pc(thread_list[i], &wordsize); in main() 451 (int)thread_list[i]); in main() 453 if (inferior_namespace_mach_port_num(task, thread_list[i], in main() 491 vm_deallocate(mytask, (vm_address_t)thread_list, in main()
|
| /openbsd-src/gnu/llvm/lldb/tools/debugserver/source/MacOSX/ |
| H A D | Genealogy.cpp | 65 const MachThreadList &thread_list, in GetGenealogyInfoForThread() argument 75 GetActivities(pid, thread_list, task); in GetGenealogyInfoForThread() 91 void Genealogy::GetActivities(pid_t pid, const MachThreadList &thread_list, in GetActivities() argument 178 const nub_size_t num_threads = thread_list.NumThreads(); in GetActivities() 180 nub_thread_t thread_id = thread_list.ThreadIDAtIndex(i); in GetActivities()
|
| H A D | Genealogy.h | 71 const MachThreadList &thread_list, 86 void GetActivities(pid_t pid, const MachThreadList &thread_list, task_t task);
|
| H A D | MachThreadList.cpp | 292 thread_array_t thread_list = NULL; in UpdateThreadList() local 295 DNBError err(::task_threads(task, &thread_list, &thread_list_count), in UpdateThreadList() 301 task, thread_list, thread_list_count); in UpdateThreadList() 310 const thread_t mach_port_num = thread_list[idx]; in UpdateThreadList() 341 ::vm_deallocate(::mach_task_self(), (vm_address_t)thread_list, in UpdateThreadList()
|
| /openbsd-src/gnu/llvm/lldb/source/Plugins/ObjectFile/Minidump/ |
| H A D | MinidumpFileBuilder.cpp | 408 lldb_private::ThreadList thread_list = process_sp->GetThreadList(); in AddThreadList() local 413 thread_list.GetSize() * minidump_thread_size; in AddThreadList() 420 static_cast<llvm::support::ulittle32_t>(thread_list.GetSize()); in AddThreadList() 425 const uint32_t num_threads = thread_list.GetSize(); in AddThreadList() 428 ThreadSP thread_sp(thread_list.GetThreadAtIndex(thread_idx)); in AddThreadList() 497 lldb_private::ThreadList thread_list = process_sp->GetThreadList(); in AddException() local 499 const uint32_t num_threads = thread_list.GetSize(); in AddException() 503 ThreadSP thread_sp(thread_list.GetThreadAtIndex(stop_reason_thread_idx)); in AddException() 520 ThreadSP thread_sp(thread_list.GetThreadAtIndex(stop_reason_thread_idx)); in AddException() 570 auto thread_list = process_sp->GetThreadList(); in AddMemoryList() local [all …]
|
| /openbsd-src/gnu/llvm/lldb/include/lldb/Target/ |
| H A D | ThreadList.h | 49 ExpressionExecutionThreadPusher(ThreadList &thread_list, lldb::tid_t tid) in ExpressionExecutionThreadPusher() argument 50 : m_thread_list(&thread_list), m_tid(tid) { in ExpressionExecutionThreadPusher()
|
| /openbsd-src/gnu/llvm/lldb/source/API/ |
| H A D | SBQueue.cpp | 94 const std::vector<ThreadSP> thread_list(queue_sp->GetThreads()); in FetchThreads() local 96 const uint32_t num_threads = thread_list.size(); in FetchThreads() 98 ThreadSP thread_sp = thread_list[idx]; in FetchThreads()
|
| /openbsd-src/gnu/llvm/lldb/source/Plugins/OperatingSystem/Python/ |
| H A D | OperatingSystemPython.cpp | 397 ThreadList &thread_list = m_process->GetThreadList(); in CreateThread() local 401 thread_list, core_used_map, &did_create)); in CreateThread() 403 thread_list.AddThread(thread_sp); in CreateThread()
|
| /openbsd-src/gnu/llvm/llvm/lib/ExecutionEngine/IntelJITEvents/ |
| H A D | ittnotify_config.h | 349 __itt_thread_info* thread_list; member 368 (gptr)->thread_list = h; \ 385 (gptr)->thread_list = h; \
|
| /openbsd-src/gnu/llvm/compiler-rt/lib/hwasan/ |
| H A D | hwasan.cpp | 164 HwasanThreadList &thread_list = hwasanThreadList(); in HwasanFormatMemoryUsage() local 165 auto thread_stats = thread_list.GetThreadStats(); in HwasanFormatMemoryUsage() 175 thread_stats.n_live_threads * thread_list.MemoryUsedPerThread(), in HwasanFormatMemoryUsage()
|
| /openbsd-src/gnu/llvm/lldb/source/Target/ |
| H A D | Process.cpp | 795 ThreadList &thread_list = process_sp->GetThreadList(); in HandleProcessStateChangedEvent() local 796 std::lock_guard<std::recursive_mutex> guard(thread_list.GetMutex()); in HandleProcessStateChangedEvent() 798 ThreadSP curr_thread(thread_list.GetSelectedThread()); in HandleProcessStateChangedEvent() 830 const size_t num_threads = thread_list.GetSize(); in HandleProcessStateChangedEvent() 833 thread = thread_list.GetThreadAtIndex(i); in HandleProcessStateChangedEvent() 872 thread_list.SetSelectedThreadByID(plan_thread->GetID()); in HandleProcessStateChangedEvent() 874 thread_list.SetSelectedThreadByID(other_thread->GetID()); in HandleProcessStateChangedEvent() 879 thread = thread_list.GetThreadAtIndex(0); in HandleProcessStateChangedEvent() 882 thread_list.SetSelectedThreadByID(thread->GetID()); in HandleProcessStateChangedEvent() 5337 ThreadList &thread_list = process->GetThreadList(); in RunThreadPlan() local [all …]
|
| /openbsd-src/gnu/llvm/lldb/source/Commands/ |
| H A D | CommandObjectMemory.cpp | 1640 HistoryThreads thread_list = memory_history->GetHistoryThreads(addr); in DoExecute() local 1643 for (auto thread : thread_list) { in DoExecute()
|
| H A D | CommandObjectTarget.cpp | 2825 ThreadList &thread_list = process->GetThreadList(); in DoExecute() local 2827 thread_list.GetSelectedThread()->GetRegisterContext()); in DoExecute()
|
| /openbsd-src/gnu/llvm/lldb/source/Plugins/ObjectFile/Mach-O/ |
| H A D | ObjectFileMachO.cpp | 6309 ThreadList &thread_list(process_sp->GetThreadList()); 6310 for (uint32_t i = 0; i < thread_list.GetSize(); i++) { 6311 ThreadSP thread_sp = thread_list.GetThreadAtIndex(i); 6634 ThreadList &thread_list = process_sp->GetThreadList(); 6635 const uint32_t num_threads = thread_list.GetSize(); 6648 ThreadSP thread_sp(thread_list.GetThreadAtIndex(thread_idx));
|
| /openbsd-src/gnu/llvm/lldb/source/Core/ |
| H A D | IOHandlerCursesGUI.cpp | 5142 ThreadList &thread_list = thread_sp->GetProcess()->GetThreadList(); in TreeDelegateItemSelected() local 5143 std::lock_guard<std::recursive_mutex> guard(thread_list.GetMutex()); in TreeDelegateItemSelected() 5144 ThreadSP selected_thread_sp = thread_list.GetSelectedThread(); in TreeDelegateItemSelected() 5146 thread_list.SetSelectedThreadByID(thread_sp->GetID()); in TreeDelegateItemSelected()
|