| /openbsd-src/gnu/usr.bin/binutils/gdb/ |
| H A D | thread-db.c | 261 struct thread_info *thread_info; in thread_get_info_callback() local 271 thread_info = find_thread_pid (thread_ptid); in thread_get_info_callback() 278 *(struct thread_info **) infop = thread_info; in thread_get_info_callback() 279 if (thread_info != NULL) in thread_get_info_callback() 281 memcpy (&thread_info->private->th, thp, sizeof (*thp)); in thread_get_info_callback() 282 thread_info->private->th_valid = 1; in thread_get_info_callback() 283 memcpy (&thread_info->private->ti, &ti, sizeof (ti)); in thread_get_info_callback() 284 thread_info->private->ti_valid = 1; in thread_get_info_callback() 289 if (thread_info == NULL) in thread_get_info_callback() 293 thread_info = find_thread_pid (thread_ptid); in thread_get_info_callback() [all …]
|
| H A D | thread.c | 54 static struct thread_info *thread_list = NULL; 57 static struct thread_info *find_thread_id (int num); 61 static int thread_alive (struct thread_info *); 72 struct thread_info *tp; in delete_step_resume_breakpoint() 86 free_thread (struct thread_info *tp) in free_thread() 104 struct thread_info *tp, *tpnext; in init_thread_list() 122 struct thread_info * 125 struct thread_info *tp; in add_thread() 127 tp = (struct thread_info *) xmalloc (sizeof (*tp)); in add_thread() 139 struct thread_info *tp, *tpprev; in delete_thread() [all …]
|
| H A D | gdbthread.h | 38 struct thread_info struct 40 struct thread_info *next; argument 78 extern struct thread_info *add_thread (ptid_t ptid); argument 103 extern struct thread_info *find_thread_pid (ptid_t ptid); 107 typedef int (*thread_callback_func) (struct thread_info *, void *); 108 extern struct thread_info *iterate_over_threads (thread_callback_func, void *);
|
| H A D | infttrace.c | 369 thread_info; typedef 375 thread_info *head; 376 thread_info *head_pseudo; 598 static thread_info * 601 thread_info *new_p; in create_thread_info() 602 thread_info *p; in create_thread_info() 605 new_p = xmalloc (sizeof (thread_info)); in create_thread_info() 677 thread_info *p; in clear_thread_info() 678 thread_info *q; in clear_thread_info() 716 static thread_info * [all …]
|
| H A D | wince.c | 150 thread_info; typedef 152 static thread_info thread_head = 154 static thread_info * thread_rec (DWORD id, int get_context); 161 static thread_info *current_thread; /* Info on currently selected thread */ 162 static thread_info *this_thread; /* Info on thread returned by wait_for_debug_event */ 800 undoSStep (thread_info * th) in undoSStep() 814 thread_info *th = current_thread; /* Info on currently selected thread */ in wince_software_single_step() 936 undoSStep (thread_info * th) in undoSStep() 954 thread_info *th = current_thread; /* Info on currently selected thread */ in wince_software_single_step() 974 thread_info *th = thread_rec (ev->dwThreadId, 1); in check_for_step() [all …]
|
| H A D | uw-thread.c | 230 static struct thread_info *switchto_thread; 422 struct thread_info *info; in thr_to_lwp() 442 find_thread_lwp_callback (struct thread_info *tp, void *data) in find_thread_lwp_callback() 460 static struct thread_info * 472 struct thread_info *info; in lwp_to_thr() 525 struct thread_info *newthread; in add_thread_uw() 572 struct thread_info *info; in find_main() 631 struct thread_info *info; in libthread_stub() 766 struct thread_info *info; in uw_thread_fetch_registers() 890 uw_extra_thread_info (struct thread_info *info) in uw_extra_thread_info()
|
| H A D | aix-thread.c | 575 giter_count (struct thread_info *thread, void *countp) in giter_count() 584 giter_accum (struct thread_info *thread, void *bufp) in giter_accum() 586 **(struct thread_info ***) bufp = thread; in giter_accum() 587 (*(struct thread_info ***) bufp)++; in giter_accum() 619 struct thread_info *t1 = *(struct thread_info **) t1v; in gcmp() 620 struct thread_info *t2 = *(struct thread_info **) t2v; in gcmp() 672 struct thread_info **gbuf, **g, *thread; in sync_threadlists() 718 g = gbuf = (struct thread_info **) xmalloc (gcount * sizeof *gbuf); in sync_threadlists() 783 iter_tid (struct thread_info *thread, void *tidp) in iter_tid() 800 struct thread_info *thread = NULL; in pd_update() [all …]
|
| H A D | win32-nat.c | 109 thread_info; typedef 111 static thread_info thread_head; 118 static thread_info *current_thread; /* Info on currently selected thread */ 229 static thread_info * 232 thread_info *th; in thread_rec() 252 static thread_info * 255 thread_info *th; in child_add_thread() 260 th = (thread_info *) xmalloc (sizeof (*th)); in child_add_thread() 291 thread_info *th = &thread_head; in child_init_thread_list() 297 thread_info *here = th->next; in child_init_thread_list() [all …]
|
| H A D | target.h | 279 struct thread_info; /* fwd decl for parameter list below: */ 376 char *(*to_extra_thread_info) (struct thread_info *);
|
| /openbsd-src/gnu/usr.bin/binutils/gdb/gdbserver/ |
| H A D | inferiors.c | 28 struct thread_info struct 37 struct thread_info *current_inferior; argument 39 #define get_thread(inf) ((struct thread_info *)(inf)) 107 struct thread_info *new_thread in add_thread() 108 = (struct thread_info *) malloc (sizeof (*new_thread)); in add_thread() 126 struct thread_info *thread = get_thread (inf); in free_one_thread() 132 remove_thread (struct thread_info *thread) in remove_thread() 178 inferior_target_data (struct thread_info *inferior) in inferior_target_data() 184 set_inferior_target_data (struct thread_info *inferior, void *data) in set_inferior_target_data() 190 inferior_regcache_data (struct thread_info *inferior) in inferior_regcache_data() [all …]
|
| H A D | server.h | 77 struct thread_info; 96 extern struct thread_info *current_inferior; 99 void remove_thread (struct thread_info *thread); 109 void *inferior_target_data (struct thread_info *); 110 void set_inferior_target_data (struct thread_info *, void *); 111 void *inferior_regcache_data (struct thread_info *); 112 void set_inferior_regcache_data (struct thread_info *, void *);
|
| H A D | target.c | 31 struct thread_info *found; in set_desired_inferior() 35 found = (struct thread_info *) find_inferior_id (&all_threads, in set_desired_inferior() 46 found = (struct thread_info *) find_inferior_id (&all_threads, in set_desired_inferior() 50 found = (struct thread_info *) find_inferior_id (&all_threads, in set_desired_inferior() 55 current_inferior = (struct thread_info *) all_threads.head; in set_desired_inferior()
|
| H A D | linux-low.c | 59 static int linux_wait_for_event (struct thread_info *child); 223 struct thread_info *thread = (struct thread_info *) entry; in linux_kill_one_process() 246 struct thread_info *thread = (struct thread_info *) all_threads.head; in linux_kill() 266 struct thread_info *thread = (struct thread_info *) entry; in linux_detach_one_process() 295 struct thread_info *saved_inferior; in check_removed_breakpoint() 420 current_inferior = (struct thread_info *) in linux_wait_for_process() 429 linux_wait_for_event (struct thread_info *child) in linux_wait_for_event() 485 current_inferior = (struct thread_info *) in linux_wait_for_event() 506 current_inferior = (struct thread_info *) all_threads.head; in linux_wait_for_event() 661 struct thread_info *child = NULL; in linux_wait() [all …]
|
| H A D | regcache.c | 46 get_regcache (struct thread_info *inf, int fetch) in get_regcache() 68 struct thread_info *thread = (struct thread_info *) entry; in regcache_invalidate_one() 75 struct thread_info *saved_inferior = current_inferior; in regcache_invalidate_one()
|
| H A D | thread-db.c | 233 struct thread_info *inferior; in maybe_attach_thread() 240 inferior = (struct thread_info *) all_threads.head; in maybe_attach_thread() 250 inferior = (struct thread_info *) find_inferior_id (&all_threads, in maybe_attach_thread() 259 inferior = (struct thread_info *) find_inferior_id (&all_threads, in maybe_attach_thread()
|
| H A D | proc-service.c | 116 struct thread_info *reg_inferior, *save_inferior; in ps_lgetregs() 118 reg_inferior = (struct thread_info *) find_inferior_id (&all_threads, in ps_lgetregs()
|
| H A D | linux-low.h | 66 #define get_process_thread(proc) ((struct thread_info *) \
|
| /openbsd-src/gnu/llvm/clang/tools/c-arcmt-test/ |
| H A D | c-arcmt-test.c | 92 typedef struct thread_info { struct 96 } thread_info; argument 98 thread_info *client_data = client_data_v; in thread_runner() 110 thread_info client_data; in main()
|
| /openbsd-src/gnu/llvm/lldb/examples/python/ |
| H A D | operating_system.py | 30 thread_info = { 36 self.threads.append(thread_info) 37 return thread_info
|
| /openbsd-src/gnu/llvm/lldb/tools/debugserver/source/MacOSX/ |
| H A D | MachThread.cpp | 259 kern_return_t err = ::thread_info(thread, THREAD_BASIC_INFO, in GetBasicInfo() 588 kern_return_t kret = ::thread_info(m_mach_port_number, THREAD_IDENTIFIER_INFO, in GetIdentifierInfo() 612 kr = thread_info(mach_port_id, THREAD_IDENTIFIER_INFO, (thread_info_t)&tident, in GetGloballyUniqueThreadIDForMachPortID() 626 kr = thread_info(m_mach_port_number, THREAD_IDENTIFIER_INFO, in GetPThreadT() 706 kr = thread_info(m_mach_port_number, THREAD_IDENTIFIER_INFO, in GetDispatchQueueT()
|
| /openbsd-src/gnu/llvm/lldb/source/Plugins/Process/FreeBSD/ |
| H A D | NativeProcessFreeBSD.cpp | 305 auto thread_info = in MonitorSIGTRAP() local 307 if (thread_info != m_threads_stepping_with_breakpoint.end()) { in MonitorSIGTRAP() 309 Status brkpt_error = RemoveBreakpoint(thread_info->second); in MonitorSIGTRAP() 312 thread_info->first, brkpt_error); in MonitorSIGTRAP() 313 m_threads_stepping_with_breakpoint.erase(thread_info); in MonitorSIGTRAP()
|
| /openbsd-src/gnu/llvm/lldb/tools/darwin-threads/ |
| H A D | examine-threads.c | 120 kr = thread_info(thread, THREAD_BASIC_INFO, (thread_info_t)thinfo, in get_thread_basic_info() 138 kr = thread_info(thread, THREAD_IDENTIFIER_INFO, (thread_info_t)&tident, in get_thread_identifier_info()
|
| /openbsd-src/gnu/llvm/lldb/source/Target/ |
| H A D | Thread.cpp | 1793 StructuredData::ObjectSP thread_info = GetExtendedInfo(); in GetDescription() local 1796 if (thread_info && print_json_thread) { in GetDescription() 1797 thread_info->Dump(strm); in GetDescription() 1812 if (thread_info) { in GetDescription() 1814 thread_info->GetObjectForDotSeparatedPath("activity"); in GetDescription() 1816 thread_info->GetObjectForDotSeparatedPath("breadcrumb"); in GetDescription() 1818 thread_info->GetObjectForDotSeparatedPath("trace_messages"); in GetDescription()
|
| /openbsd-src/gnu/llvm/compiler-rt/lib/sanitizer_common/ |
| H A D | sanitizer_stoptheworld_mac.cpp | 138 kern_return_t err = thread_info(thread, THREAD_IDENTIFIER_INFO, in Append()
|
| /openbsd-src/gnu/llvm/lldb/source/Plugins/Process/Windows/Common/ |
| H A D | ProcessWindows.cpp | 550 for (const auto &thread_info : m_session_data->m_new_threads) { in DoUpdateThreadList() local 551 new_thread_list.AddThread(thread_info.second); in DoUpdateThreadList() 554 LLDB_LOGV(log, "Thread {0} is new since last update.", thread_info.first); in DoUpdateThreadList()
|