Home
last modified time | relevance | path

Searched refs:thread_info (Results 1 – 25 of 29) sorted by relevance

12

/NextBSD/contrib/gdb/gdb/
HDthread-db.c254 struct thread_info *thread_info; in thread_get_info_callback() local
264 thread_info = find_thread_pid (thread_ptid); in thread_get_info_callback()
266 if (thread_info == NULL) in thread_get_info_callback()
270 thread_info = find_thread_pid (thread_ptid); in thread_get_info_callback()
271 gdb_assert (thread_info != NULL); in thread_get_info_callback()
274 memcpy (&thread_info->private->th, thp, sizeof (*thp)); in thread_get_info_callback()
275 thread_info->private->th_valid = 1; in thread_get_info_callback()
276 memcpy (&thread_info->private->ti, &ti, sizeof (ti)); in thread_get_info_callback()
277 thread_info->private->ti_valid = 1; in thread_get_info_callback()
280 *(struct thread_info **) infop = thread_info; in thread_get_info_callback()
[all …]
HDthread.c54 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 …]
HDgdbthread.h38 struct thread_info struct
40 struct thread_info *next; argument
84 extern struct thread_info *add_thread (ptid_t ptid); argument
109 extern struct thread_info *find_thread_pid (ptid_t ptid);
113 typedef int (*thread_callback_func) (struct thread_info *, void *);
114 extern struct thread_info *iterate_over_threads (thread_callback_func, void *);
HDinfttrace.c372 thread_info; typedef
378 thread_info *head;
379 thread_info *head_pseudo;
601 static thread_info *
604 thread_info *new_p; in create_thread_info()
605 thread_info *p; in create_thread_info()
608 new_p = xmalloc (sizeof (thread_info)); in create_thread_info()
680 thread_info *p; in clear_thread_info()
681 thread_info *q; in clear_thread_info()
719 static thread_info *
[all …]
HDwince.c155 thread_info; typedef
157 static thread_info thread_head =
159 static thread_info * thread_rec (DWORD id, int get_context);
166 static thread_info *current_thread; /* Info on currently selected thread */
167 static thread_info *this_thread; /* Info on thread returned by wait_for_debug_event */
805 undoSStep (thread_info * th) in undoSStep()
819 thread_info *th = current_thread; /* Info on currently selected thread */ in wince_software_single_step()
941 undoSStep (thread_info * th) in undoSStep()
959 thread_info *th = current_thread; /* Info on currently selected thread */ in wince_software_single_step()
979 thread_info *th = thread_rec (ev->dwThreadId, 1); in check_for_step()
[all …]
HDuw-thread.c229 static struct thread_info *switchto_thread;
418 struct thread_info *info; in thr_to_lwp()
438 find_thread_lwp_callback (struct thread_info *tp, void *data) in find_thread_lwp_callback()
456 static struct thread_info *
468 struct thread_info *info; in lwp_to_thr()
521 struct thread_info *newthread; in add_thread_uw()
568 struct thread_info *info; in find_main()
627 struct thread_info *info; in libthread_stub()
761 struct thread_info *info; in uw_thread_fetch_registers()
884 uw_extra_thread_info (struct thread_info *info) in uw_extra_thread_info()
HDwin32-nat.c115 thread_info; typedef
117 static thread_info thread_head;
124 static thread_info *current_thread; /* Info on currently selected thread */
235 static thread_info *
238 thread_info *th; in thread_rec()
258 static thread_info *
261 thread_info *th; in child_add_thread()
266 th = (thread_info *) xmalloc (sizeof (*th)); in child_add_thread()
297 thread_info *th = &thread_head; in child_init_thread_list()
303 thread_info *here = th->next; in child_init_thread_list()
[all …]
HDtarget.h281 struct thread_info; /* fwd decl for parameter list below: */
376 char *(*to_extra_thread_info) (struct thread_info *);
HDlin-lwp.c481 struct thread_info *tp; in resume_callback()
/NextBSD/contrib/gdb/gdb/gdbserver/
HDinferiors.c28 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 …]
HDserver.h77 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 *);
HDproc-service.c132 struct thread_info *reg_inferior, *save_inferior; in ps_lgetregs()
135 reg_inferior = (struct thread_info *) find_inferior_id (&all_threads, in ps_lgetregs()
162 struct thread_info *reg_inferior, *save_inferior; in ps_lsetregs()
165 reg_inferior = (struct thread_info *) find_inferior_id (&all_threads, lwpid); in ps_lsetregs()
193 struct thread_info *reg_inferior, *save_inferior; in ps_lgetfpregs()
196 reg_inferior = (struct thread_info *) find_inferior_id (&all_threads, lwpid); in ps_lgetfpregs()
224 struct thread_info *reg_inferior, *save_inferior; in ps_lsetfpregs()
227 reg_inferior = (struct thread_info *) find_inferior_id (&all_threads, lwpid); in ps_lsetfpregs()
HDtarget.c31 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()
HDregcache.c46 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()
HDthread-db.c233 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()
/NextBSD/contrib/apr-util/test/
HDtestreslist.c112 my_thread_info_t *thread_info = data; in resource_consuming_thread() local
113 apr_reslist_t *rl = thread_info->reslist; in resource_consuming_thread()
123 ABTS_INT_EQUAL(thread_info->tc, APR_SUCCESS, rv); in resource_consuming_thread()
125 apr_sleep(thread_info->work_delay_sleep); in resource_consuming_thread()
131 ABTS_INT_EQUAL(thread_info->tc, APR_SUCCESS, rv); in resource_consuming_thread()
134 ABTS_INT_EQUAL(thread_info->tc, APR_SUCCESS, rv); in resource_consuming_thread()
222 my_thread_info_t thread_info[CONSUMER_THREADS]; in test_reslist() local
240 thread_info[i].tid = i; in test_reslist()
241 thread_info[i].tc = tc; in test_reslist()
242 thread_info[i].reslist = rl; in test_reslist()
[all …]
/NextBSD/gnu/usr.bin/gdb/gdbserver/
HDfbsd-low.c61 static int fbsd_wait_for_event (struct thread_info *child);
219 struct thread_info *thread = (struct thread_info *) entry; in fbsd_kill_one_process()
241 struct thread_info *thread = (struct thread_info *) entry; in fbsd_detach_one_process()
270 struct thread_info *saved_inferior; in check_removed_breakpoint()
385 current_inferior = (struct thread_info *) in fbsd_wait_for_process()
394 fbsd_wait_for_event (struct thread_info *child) in fbsd_wait_for_event()
450 current_inferior = (struct thread_info *) in fbsd_wait_for_event()
471 current_inferior = (struct thread_info *) all_threads.head; in fbsd_wait_for_event()
624 struct thread_info *child = NULL; in fbsd_wait()
635 child = (struct thread_info *) find_inferior_id (&all_threads, in fbsd_wait()
[all …]
HDfbsd-low.h68 #define get_process_thread(proc) ((struct thread_info *) \
/NextBSD/contrib/libcxxrt/
HDexception.cc334 static void thread_cleanup(void* thread_info) in thread_cleanup() argument
336 __cxa_thread_info *info = static_cast<__cxa_thread_info*>(thread_info); in thread_cleanup()
350 free(thread_info); in thread_cleanup()
390 static __cxa_thread_info *thread_info() in thread_info() function
419 return &(thread_info()->globals); in __cxa_get_globals()
459 __cxa_thread_info *info = thread_info(); in emergency_malloc()
738 __cxa_thread_info *info = thread_info(); in throw_exception()
832 __cxa_thread_info *ti = thread_info(); in __cxa_rethrow()
1202 __cxa_thread_info *ti = thread_info();
1396 static __cxa_thread_info *info = thread_info();
[all …]
/NextBSD/gnu/usr.bin/gdb/kgdb/
HDkgdb.h32 struct thread_info;
HDtrgt.c115 struct thread_info *ti; in kgdb_trgt_open()
217 kgdb_trgt_extra_thread_info(struct thread_info *ti) in kgdb_trgt_extra_thread_info()
/NextBSD/include/mach/
HDMakefile48 thread_info.h \
/NextBSD/contrib/llvm/tools/lldb/source/Target/
HDThread.cpp2204 StructuredData::ObjectSP thread_info = GetExtendedInfo(); in GetDescription() local
2208 if (thread_info && print_json_thread) in GetDescription()
2210 thread_info->Dump (strm); in GetDescription()
2227 if (thread_info) in GetDescription()
2229 StructuredData::ObjectSP activity = thread_info->GetObjectForDotSeparatedPath("activity"); in GetDescription()
2230 … StructuredData::ObjectSP breadcrumb = thread_info->GetObjectForDotSeparatedPath("breadcrumb"); in GetDescription()
2231 … StructuredData::ObjectSP messages = thread_info->GetObjectForDotSeparatedPath("trace_messages"); in GetDescription()
/NextBSD/sys/sys/mach/
HDmach_types.defs216 * if other thread_info flavors are added, this
218 * mach/thread_info.h and mach/policy.h) */
/NextBSD/lib/libdispatch/src/
HDintrospection.c74 kern_return_t kr = thread_info(pthread_mach_thread_np((void*)thread), in _dispatch_introspection_init()

12