Lines Matching refs:new_thread
113 struct thread_info *new_thread = malloc (sizeof (*new_thread));
115 memset (new_thread, 0, sizeof (*new_thread));
117 new_thread->entry.id = thread_id;
119 add_inferior_to_list (&all_threads, & new_thread->entry);
122 current_inferior = new_thread;
124 new_thread->target_data = target_data;
125 set_inferior_regcache_data (new_thread, new_register_cache ());
126 new_thread->gdb_id = gdb_id;