void set_current_program_space(struct program_space *pspace)
void switch_to_thread(ptid_t ptid)
struct thread_info * any_live_thread_of_process(int pid)
struct inferior * find_inferior_for_program_space(struct program_space *pspace)
void switch_to_program_space_and_thread(program_space *pspace)