354 std::unique_ptr<private_thread_info>
priv;
478 #define ALL_THREADS(T) \ 479 for (T = thread_list; T; T = T->next) \ 482 #define ALL_THREADS_BY_INFERIOR(inf, tp) \ 483 ALL_INFERIORS (inf) \ 490 #define ALL_NON_EXITED_THREADS(T) \ 491 for (T = thread_list; T; T = T->next) \ 492 if ((T)->state != THREAD_EXITED) 496 #define ALL_THREADS_SAFE(T, TMP) \ 497 for ((T) = thread_list; \ 498 (T) != NULL ? ((TMP) = (T)->next, 1): 0; \ 684 user_selected_what selection);
int threads_are_executing(void)
struct frame_id step_stack_frame_id
struct thread_info * add_thread(ptid_t ptid)
int pc_in_thread_step_range(CORE_ADDR pc, struct thread_info *thread)
struct thread_info * find_thread_ptid(ptid_t ptid)
CORE_ADDR step_range_start
int show_inferior_qualified_tids(void)
bool can_access_registers_ptid(ptid_t ptid)
typedef VEC(value_ptr) value_vec
void delete_thread(ptid_t)
mach_port_t mach_port_t name mach_port_t mach_port_t name kern_return_t int int rusage_t pid_t pid
struct frame_id initiating_frame
void set_running(ptid_t ptid, int running)
value_vec * stack_temporaries
void delete_thread_silent(ptid_t)
struct thread_info * add_thread_with_info(ptid_t ptid, struct private_thread_info *)
DISABLE_COPY_AND_ASSIGN(scoped_restore_current_thread)
int show_thread_that_caused_stop(void)
int valid_global_thread_id(int global_id)
struct thread_info * inferior_thread(void)
const struct frame_id null_frame_id
int thread_stack_temporaries_enabled_p(ptid_t ptid)
int value_in_thread_stack_temporaries(struct value *, ptid_t)
struct thread_info * first_thread_of_process(int pid)
enum gdb_signal stop_signal
class thread_info * m_thread
int stepping_over_breakpoint
struct symtab * current_symtab
~scoped_restore_current_thread()
struct thread_info * thread_step_over_chain_next(struct thread_info *tp)
int in_thread_list(ptid_t ptid)
struct thread_info * iterate_over_threads(thread_callback_func, void *)
void thread_select(const char *tidstr, class thread_info *thr)
struct thread_info * next
int is_stopped(ptid_t ptid)
thread_suspend_state suspend
struct breakpoint * exception_resume_breakpoint
struct thread_info * find_thread_global_id(int global_id)
struct frame_id step_frame_id
int thread_is_in_step_over_chain(struct thread_info *tp)
void print_selected_thread_frame(struct ui_out *uiout, user_selected_what selection)
struct thread_info * any_live_thread_of_process(int pid)
thread_info(inferior *inf, ptid_t ptid)
virtual ~private_thread_info()=0
int ptid_to_global_thread_id(ptid_t ptid)
void thread_cancel_execution_command(struct thread_info *thr)
void finish_thread_state(ptid_t ptid)
struct target_waitstatus pending_follow
void thread_change_ptid(ptid_t old_ptid, ptid_t new_ptid)
const char * print_thread_id(struct thread_info *thr)
void push_thread_stack_temporary(ptid_t ptid, struct value *v)
struct thread_info * add_thread_silent(ptid_t ptid)
struct thread_info * find_thread_by_handle(struct value *thread_handle, struct inferior *inf)
int thread_has_single_step_breakpoint_here(struct thread_info *tp, const address_space *aspace, CORE_ADDR addr)
void delete_step_resume_breakpoint(struct thread_info *)
struct value * get_last_thread_stack_temporary(ptid_t)
struct cmd_list_element * thread_cmd_list
struct thread_info * step_over_prev
enum target_stop_reason stop_reason
int thread_has_single_step_breakpoints_set(struct thread_info *tp)
ptid_t global_thread_id_to_ptid(int num)
struct symbol * step_start_function
void finish_thread_state_cleanup(void *ptid_p)
void thread_command(const char *tidstr, int from_tty)
scoped_restore_current_thread()
void thread_step_over_chain_enqueue(struct thread_info *tp)
int stepping_over_watchpoint
std::unique_ptr< private_thread_info > priv
void set_resumed(ptid_t ptid, int resumed)
void update_thread_list(void)
thread_control_state control
struct cleanup * enable_thread_stack_temporaries(ptid_t ptid)
void delete_exception_resume_breakpoint(struct thread_info *)
frame_id m_selected_frame_id
void print_thread_info(struct ui_out *uiout, char *requested_threads, int pid)
void set_stop_requested(ptid_t ptid, int stop)
void switch_to_thread_no_regs(struct thread_info *thread)
struct breakpoint * single_step_breakpoints
struct thread_info * thread_list
int ptid_equal(const ptid_t &ptid1, const ptid_t &ptid2)
int is_exited(ptid_t ptid)
void delete_exited_threads(void)
void delete_single_step_breakpoints(struct thread_info *tp)
void validate_registers_access(void)
void thread_step_over_chain_remove(struct thread_info *tp)
int(* thread_callback_func)(struct thread_info *, void *)
int stack_temporaries_enabled
struct target_waitstatus waitstatus
enum step_over_calls_kind step_over_calls
struct breakpoint * step_resume_breakpoint
struct thread_info * step_over_next
int is_running(ptid_t ptid)
int m_selected_frame_level
void set_executing(ptid_t ptid, int executing)
struct thread_info * any_thread_of_process(int pid)
int step_after_step_resume_breakpoint
int is_executing(ptid_t ptid)
void init_thread_list(void)