38 new_thread->
id = thread_id;
40 new_thread->
last_status.kind = TARGET_WAITKIND_IGNORE;
67 return thread->
id == ptid;
100 if (thread->
btrace != NULL)
167 return process->
pid ==
pid;
struct thread_info * current_thread
constexpr int pid() const
struct process_info * add_process(int pid, int attached)
static void xfree(T *ptr)
struct btrace_target_info * btrace
struct thread_info * add_thread(ptid_t thread_id, void *target_data)
void clear_symbol_cache(struct sym_cache **symcache_p)
void set_thread_regcache_data(struct thread_info *thread, struct regcache *data)
void set_inferior_cwd(const char *cwd)
static ptid_t ptid_of(const thread_info *thread)
struct thread_info * get_first_thread(void)
static const char * current_inferior_cwd
static thread_info * find_thread(Func func)
struct regcache * thread_regcache_data(struct thread_info *thread)
void free_all_breakpoints(struct process_info *proc)
int have_attached_inferiors_p(void)
static void for_each_thread(Func func)
process_info * get_first_process(void)
static void free_one_thread(thread_info *thread)
enum resume_kind last_resume_kind
char * xstrdup(const char *s)
void * thread_target_data(struct thread_info *thread)
struct cleanup * make_cleanup_restore_current_thread(void)
process_info * find_process_pid(int pid)
static struct thread_info * find_thread_process(const struct process_info *const process)
std::list< process_info * > all_processes
static void do_restore_current_thread_cleanup(void *arg)
struct cleanup * make_cleanup(make_cleanup_ftype *function, void *arg)
void remove_process(struct process_info *process)
struct process_info * current_process(void)
struct regcache * regcache_data
void switch_to_thread(ptid_t ptid)
struct sym_cache * symbol_cache
process_info(int pid_, int attached_)
struct thread_info * find_any_thread_of_pid(int pid)
void remove_thread(struct thread_info *thread)
struct target_waitstatus last_status
int have_started_inferiors_p(void)
void free_register_cache(struct regcache *regcache)
static process_info * find_process(Func func)
const char * get_inferior_cwd()
void discard_queued_stop_replies(ptid_t ptid)
struct thread_info * find_thread_ptid(ptid_t ptid)
void clear_inferiors(void)
struct process_info * get_thread_process(const struct thread_info *thread)
std::list< thread_info * > all_threads
#define target_disable_btrace(tinfo)