GDBserver
|
#include "inferiors.h"
Go to the source code of this file.
Classes | |
struct | thread_info |
Macros | |
#define | current_ptid (current_thread->entry.id) |
Functions | |
void | remove_thread (struct thread_info *thread) |
struct thread_info * | add_thread (ptid_t ptid, void *target_data) |
struct thread_info * | get_first_thread (void) |
struct thread_info * | find_thread_ptid (ptid_t ptid) |
Variables | |
struct inferior_list | all_threads |
#define current_ptid (current_thread->entry.id) |
Definition at line 83 of file gdbthread.h.
Referenced by current_thread_ptid(), fetch_ppc_memory(), fetch_ppc_register(), myresume(), process_serial_event(), read_ptid(), run_inferior_command(), spu_proc_xfer_spu(), spu_request_interrupt(), spu_resume(), spu_thread_alive(), store_ppc_memory(), and thread_db_find_new_threads().
struct thread_info* add_thread | ( | ptid_t | ptid, |
void * | target_data | ||
) |
Definition at line 106 of file inferiors.c.
References add_inferior_to_list(), all_threads, thread_info::entry, inferior_list_entry::id, thread_info::last_resume_kind, thread_info::last_status, thread_info::target_data, and xmalloc().
Referenced by add_lwp(), child_add_thread(), lynx_add_threads_after_attach(), lynx_wait_1(), nto_find_new_threads(), spu_attach(), and spu_create_inferior().
struct thread_info* find_thread_ptid | ( | ptid_t | ptid | ) |
Definition at line 141 of file inferiors.c.
References all_threads, and find_inferior_id().
Referenced by attach_proc_task_lwp_callback(), gdb_id_to_thread_id(), get_thread_regcache_for_ptid(), handle_btrace_conf_general_set(), handle_btrace_general_set(), handle_query(), handle_qxfer_btrace(), handle_qxfer_btrace_conf(), linux_attach(), lynx_add_threads_after_attach(), lynx_thread_alive(), lynx_wait_1(), nto_find_new_threads(), prepare_resume_reply(), and set_desired_thread().
struct thread_info* get_first_thread | ( | void | ) |
Definition at line 135 of file inferiors.c.
References all_threads, and get_first_inferior().
Referenced by process_serial_event(), set_desired_thread(), and target_running().
void remove_thread | ( | struct thread_info * | thread | ) |
Definition at line 163 of file inferiors.c.
References all_threads, thread_info::btrace, thread_info::entry, free_one_thread(), remove_inferior(), and target_disable_btrace.
Referenced by delete_lwp(), delete_thread_info(), lynx_wait_1(), and nto_find_new_threads().
struct inferior_list all_threads |
Definition at line 26 of file inferiors.c.
Referenced by aarch64_notify_debug_reg_change(), add_thread(), arm_insert_point(), arm_remove_point(), captured_main(), child_continue(), child_delete_thread(), child_init_thread_list(), clear_inferiors(), fake_breakpoint_event(), find_lwp_pid(), find_one_thread(), find_thread_ptid(), gdb_agent_about_to_close(), gdb_wants_all_threads_stopped(), get_child_debug_event(), get_first_thread(), handle_query(), handle_qxfer_threads_proper(), handle_status(), iterate_over_lwps(), last_thread_of_process_p(), linux_detach(), linux_handle_new_gdb_connection(), linux_kill(), linux_mourn(), linux_resume(), linux_stabilize_threads(), linux_wait_for_event_filtered(), mips_insert_point(), mips_remove_point(), num_lwps(), proceed_all_lwps(), process_serial_event(), regcache_invalidate(), regcache_release(), remove_thread(), resume(), select_event_lwp(), stop_all_lwps(), switch_to_process(), thread_rec(), unstop_all_lwps(), unsuspend_all_lwps(), win32_clear_inferiors(), win32_thread_alive(), x86_arch_setup_process_callback(), x86_dr_low_set_addr(), and x86_dr_low_set_control().