GDB (xrefs)
|
#include "breakpoint.h"
#include "frame.h"
#include "ui-out.h"
#include "inferior.h"
#include "btrace.h"
#include "common/vec.h"
Go to the source code of this file.
Classes | |
struct | thread_control_state |
struct | thread_suspend_state |
struct | thread_info |
Macros | |
#define | ALL_NON_EXITED_THREADS(T) |
#define | ALL_THREADS_SAFE(T, TMP) |
Typedefs | |
typedef struct value * | value_ptr |
typedef int(* | thread_callback_func) (struct thread_info *, void *) |
Enumerations | |
enum | thread_state { THREAD_STOPPED, THREAD_RUNNING, THREAD_EXITED } |
Variables | |
struct cmd_list_element * | thread_cmd_list |
int | print_thread_events |
struct thread_info * | thread_list |
#define ALL_NON_EXITED_THREADS | ( | T | ) |
Definition at line 377 of file gdbthread.h.
Referenced by any_live_thread_of_process(), any_thread_of_process(), append_pending_thread_resumptions(), btrace_free_objfile(), clear_proceed_status(), find_thread_needs_step_over(), for_each_just_stopped_thread(), kill_new_fork_children(), record_btrace_close(), record_btrace_find_thread_to_move(), record_btrace_is_replaying(), record_btrace_open(), record_btrace_resume(), record_btrace_stop_recording(), record_btrace_wait(), record_full_wait_1(), remove_new_fork_children(), signal_command(), switch_back_to_stepped_thread(), thread_apply_all_command(), and update_threads_executing().
#define ALL_THREADS_SAFE | ( | T, | |
TMP | |||
) |
Definition at line 383 of file gdbthread.h.
Referenced by delete_exited_threads(), follow_exec(), prune_threads(), and remote_update_thread_list().
typedef int(* thread_callback_func) (struct thread_info *, void *) |
Definition at line 371 of file gdbthread.h.
Definition at line 162 of file gdbthread.h.
enum thread_state |
Enumerator | |
---|---|
THREAD_STOPPED | |
THREAD_RUNNING | |
THREAD_EXITED |
Definition at line 35 of file gdbthread.h.
struct thread_info* add_thread | ( | ptid_t | ptid | ) |
Definition at line 305 of file thread.c.
References add_thread_with_info().
Referenced by add_to_thread_list(), bsd_uthread_update_thread_list(), bsd_uthread_wait(), do_attach(), follow_fork_inferior(), handle_inferior_event_1(), inf_validate_procs(), linux_handle_extended_wait(), linux_nat_filter_event(), procfs_notice_thread(), procfs_update_thread_list(), procfs_wait(), ravenscar_add_thread(), ravenscar_update_inferior_ptid(), remote_add_thread(), sol_thread_wait(), sol_update_thread_list_callback(), sync_threadlists(), and windows_add_thread().
struct thread_info* add_thread_silent | ( | ptid_t | ptid | ) |
Definition at line 240 of file thread.c.
References delete_thread(), find_thread_ptid(), inferior_ptid, new_thread(), null_ptid, observer_notify_new_thread(), thread_info::ptid, ptid_equal(), thread_info::state, switch_to_thread(), THREAD_EXITED, and THREAD_STOPPED.
Referenced by add_current_inferior_and_thread(), add_thread_with_info(), bsd_kvm_open(), common_open(), core_open(), darwin_attach(), extended_remote_attach(), fork_inferior(), gdbsim_create_inferior(), go32_create_inferior(), inf_ptrace_attach(), inf_validate_procs(), m32r_resume(), monitor_open(), remote_add_thread(), and tfile_open().
struct thread_info* add_thread_with_info | ( | ptid_t | ptid, |
struct private_thread_info * | |||
) |
Definition at line 291 of file thread.c.
References _, add_thread_silent(), annotate_new_thread(), print_thread_events, printf_unfiltered(), thread_info::priv, and target_pid_to_str().
Referenced by add_thread(), darwin_check_new_threads(), and record_thread().
struct thread_info* any_live_thread_of_process | ( | int | pid | ) |
Definition at line 528 of file thread.c.
References ALL_NON_EXITED_THREADS, thread_info::executing, gdb_assert, inferior_ptid, inferior_thread(), thread_info::ptid, ptid_get_pid(), thread_info::state, and THREAD_EXITED.
Referenced by handle_vfork_child_exec_or_exit(), mi_cmd_execute(), reattach_breakpoints(), switch_to_program_space_and_thread(), and thread_db_update_thread_list_td_ta_thr_iter().
struct thread_info* any_thread_of_process | ( | int | pid | ) |
Definition at line 510 of file thread.c.
References ALL_NON_EXITED_THREADS, gdb_assert, inferior_ptid, inferior_thread(), thread_info::ptid, and ptid_get_pid().
Referenced by detach_inferior_command(), dispose_inferior(), have_live_inferiors(), inferior_command(), kill_inferior_command(), kill_or_detach(), mi_cmd_remove_inferior(), and run_one_inferior().
DEF_VEC_P | ( | value_ptr | ) |
void delete_exception_resume_breakpoint | ( | struct thread_info * | ) |
Definition at line 112 of file thread.c.
References thread_info::control, delete_thread_breakpoint(), and thread_control_state::exception_resume_breakpoint.
Referenced by delete_thread_infrun_breakpoints(), follow_fork(), and process_event_stop_test().
void delete_exited_threads | ( | void | ) |
Definition at line 640 of file thread.c.
References ALL_THREADS_SAFE, delete_thread(), thread_info::ptid, thread_info::state, and THREAD_EXITED.
Referenced by linux_nat_update_thread_list().
void delete_single_step_breakpoints | ( | struct thread_info * | tp | ) |
Definition at line 121 of file thread.c.
References thread_info::control, delete_thread_breakpoint(), and thread_control_state::single_step_breakpoints.
Referenced by delete_just_stopped_threads_single_step_breakpoints(), delete_thread_infrun_breakpoints(), record_full_wait_1(), resume(), and resume_cleanups().
void delete_step_resume_breakpoint | ( | struct thread_info * | ) |
Definition at line 105 of file thread.c.
References thread_info::control, delete_thread_breakpoint(), and thread_control_state::step_resume_breakpoint.
Referenced by delete_thread_infrun_breakpoints(), follow_fork(), and process_event_stop_test().
void delete_thread | ( | ptid_t | ) |
Definition at line 368 of file thread.c.
References delete_thread_1().
Referenced by add_thread_silent(), attach_thread(), darwin_check_new_threads(), delete_exited_threads(), delete_thread_of_inferior(), exit_lwp(), follow_exec(), procfs_wait(), prune_threads(), remote_update_thread_list(), switch_back_to_stepped_thread(), sync_threadlists(), and windows_delete_thread().
void delete_thread_silent | ( | ptid_t | ) |
Definition at line 374 of file thread.c.
References delete_thread_1().
Referenced by bsd_kvm_close(), delete_thread_of_inferior(), gdbsim_mourn_inferior(), go32_mourn_inferior(), m32r_close(), m32r_kill(), m32r_load(), monitor_close(), monitor_mourn_inferior(), and sdireset_command().
Definition at line 673 of file thread.c.
References disable_thread_stack_temporaries(), find_thread_ptid(), gdb_assert, make_cleanup(), thread_info::stack_temporaries, thread_info::stack_temporaries_enabled, and xmalloc().
Referenced by evaluate_subexp().
struct thread_info* find_thread_id | ( | int | num | ) |
Definition at line 380 of file thread.c.
References thread_info::next, and thread_info::num.
Referenced by display_tib(), do_captured_thread_select(), longjmp_bkpt_dtor(), mi_cmd_execute(), mi_cmd_var_update_iter(), thread_apply_command(), and thread_id_to_pid().
struct thread_info* find_thread_ptid | ( | ptid_t | ptid | ) |
Definition at line 393 of file thread.c.
References thread_info::next, thread_info::ptid, and ptid_equal().
Referenced by add_thread_silent(), aix_thread_fetch_registers(), aix_thread_resume(), aix_thread_store_registers(), append_resumption(), attach_thread(), bpstat_clear_actions(), continue_command(), darwin_check_new_threads(), delete_checkpoint_command(), demand_private_info(), detach_thread(), disable_thread_stack_temporaries(), displaced_step_prepare(), do_restore_current_thread_cleanup(), enable_thread_stack_temporaries(), exit_lwp(), find_new_threads_callback(), finish_thread_state(), follow_fork(), get_last_thread_stack_temporary(), get_pending_status(), handle_inferior_event_1(), inferior_thread(), infrun_thread_stop_requested_callback(), is_executing(), is_thread_state(), linux_nat_resume_callback(), linux_nat_stop_lwp(), maint_btrace_clear_cmd(), maint_btrace_clear_packet_history_cmd(), maint_btrace_packet_history_cmd(), maint_info_btrace_cmd(), make_cleanup_restore_current_thread(), mi_on_resume(), procfs_update_thread_list(), program_info(), push_thread_stack_temporary(), python_on_normal_stop(), ravenscar_add_thread(), ravenscar_update_inferior_ptid(), record_btrace_fetch_registers(), record_btrace_find_resume_thread(), record_btrace_find_thread_to_move(), record_btrace_frame_sniffer(), record_btrace_info(), record_btrace_tailcall_frame_sniffer(), record_btrace_thread_alive(), remote_core_of_thread(), remote_detach_1(), remote_threads_extra_info(), require_btrace_thread(), restore_current_thread_cleanup_dtor(), run_inferior_call(), set_executing(), set_running(), set_stop_requested(), task_command_1(), thread_change_ptid(), thread_db_get_thread_local_address(), thread_db_pid_to_str(), thread_from_lwp(), thread_id_make_value(), thread_stack_temporaries_enabled_p(), and value_in_thread_stack_temporaries().
void finish_thread_state | ( | ptid_t | ptid | ) |
Definition at line 911 of file thread.c.
References all, thread_info::executing, find_thread_ptid(), gdb_assert, minus_one_ptid, thread_info::next, observer_notify_target_resumed(), thread_info::ptid, ptid_equal(), ptid_get_pid(), ptid_is_pid(), thread_info::state, THREAD_EXITED, THREAD_RUNNING, and THREAD_STOPPED.
Referenced by finish_thread_state_cleanup(), and run_inferior_call().
void finish_thread_state_cleanup | ( | void * | ptid_p | ) |
Definition at line 950 of file thread.c.
References finish_thread_state(), and gdb_assert.
Referenced by fetch_inferior_event(), normal_stop(), prepare_for_detach(), run_command_1(), and wait_for_inferior().
struct thread_info* first_thread_of_process | ( | int | pid | ) |
Definition at line 497 of file thread.c.
References thread_info::next, thread_info::num, thread_info::ptid, and ptid_get_pid().
Referenced by core_open(), and extended_remote_attach().
Definition at line 741 of file thread.c.
References find_thread_ptid(), gdb_assert, thread_info::stack_temporaries, VEC_empty, and VEC_last.
Referenced by call_function_by_hand_dummy().
Definition at line 482 of file thread.c.
References thread_info::next, thread_info::ptid, and ptid_equal().
Referenced by aix_thread_thread_alive(), breakpoint_re_set_thread(), bsd_uthread_update_thread_list(), bsd_uthread_wait(), check_event(), procfs_notice_thread(), procfs_wait(), remote_notice_new_inferior(), set_momentary_breakpoint(), sol_thread_wait(), sol_update_thread_list_callback(), step_1(), and value_of_root_1().
struct thread_info* inferior_thread | ( | void | ) |
Definition at line 85 of file thread.c.
References find_thread_ptid(), gdb_assert, and inferior_ptid.
Referenced by any_live_thread_of_process(), any_thread_of_process(), arm_linux_copy_svc(), attach_command_post_wait(), bpstat_do_actions(), breakpoint_about_to_proceed(), call_function_by_hand_dummy(), clear_proceed_status(), displaced_step_fixup(), do_initial_windows_stuff(), do_target_resume(), find_thread_needs_step_over(), finish_backward(), finish_command(), finish_command_continuation(), finish_forward(), follow_exec(), follow_fork(), follow_fork_inferior(), follow_inferior_reset_breakpoints(), for_each_just_stopped_thread(), handle_inferior_event_1(), inferior_event_handler(), infrun_thread_stop_requested_callback(), insert_exception_resume_breakpoint(), insert_exception_resume_from_probe(), insert_longjmp_resume_breakpoint(), insert_single_step_breakpoint(), insert_step_resume_breakpoint_at_sal_1(), linux_child_follow_fork(), mi_about_to_proceed(), mi_execute_command(), mi_on_normal_stop(), mi_on_resume(), normal_stop(), print_signal_received_reason(), print_stop_event(), proceed(), python_on_normal_stop(), queue_signal_command(), record_btrace_stopped_by_hw_breakpoint(), record_btrace_stopped_by_sw_breakpoint(), record_full_resume(), remote_follow_fork(), restore_infcall_control_state(), restore_infcall_suspend_state(), resume(), resume_cleanups(), save_infcall_control_state(), save_infcall_suspend_state(), set_step_frame(), set_step_info(), signal_command(), spu_skip_standalone_loader(), step_1(), step_1_continuation(), step_once(), thread_name_command(), until_break_command(), and until_next_command().
void init_thread_list | ( | void | ) |
Definition at line 198 of file thread.c.
References free_thread(), highest_thread_num, thread_info::next, and threads_executing.
Referenced by core_open(), detach_command(), disconnect_command(), extended_remote_create_inferior(), fork_inferior(), gdbsim_create_inferior(), kill_command(), monitor_open(), procfs_detach(), procfs_mourn_inferior(), procfs_open_1(), remote_open_1(), and windows_init_thread_list().
Definition at line 840 of file thread.c.
References thread_info::executing, find_thread_ptid(), and gdb_assert.
Referenced by bpstat_do_actions(), get_current_frame(), get_pending_status(), has_stack_frames(), infrun_thread_stop_requested_callback(), notice_new_inferior(), proceed_after_attach_callback(), proceed_after_vfork_done(), record_btrace_start_replaying(), switch_to_thread(), and watchpoint_in_thread_scope().
Definition at line 828 of file thread.c.
References is_thread_state(), and THREAD_EXITED.
Referenced by bpstat_do_actions(), bsd_uthread_update_thread_list(), bsd_uthread_wait(), ensure_valid_thread(), find_thread_of_process(), get_current_frame(), has_stack_frames(), mi_cmd_execute(), print_thread_info(), proceed_after_attach_callback(), procfs_notice_thread(), program_info(), remote_notice_new_inferior(), sol_thread_wait(), sol_update_thread_list_callback(), switch_back_to_stepped_thread(), switch_to_thread(), thpy_is_exited(), thread_command(), and validate_siginfo_access().
Definition at line 834 of file thread.c.
References is_thread_state(), and THREAD_RUNNING.
Referenced by ensure_not_running(), fetch_inferior_event(), inferior_command(), infrun_thread_stop_requested_callback(), interrupt_thread_callback(), proceed_after_vfork_done(), program_info(), thpy_is_running(), until_break_command(), until_next_command(), and validate_siginfo_access().
Definition at line 822 of file thread.c.
References is_thread_state(), and THREAD_STOPPED.
Referenced by delete_checkpoint_command(), do_restore_current_thread_cleanup(), finish_command_continuation(), make_cleanup_restore_current_thread(), mi_cmd_var_update_iter(), proceed_thread(), proceed_thread_callback(), and thpy_is_stopped().
struct thread_info* iterate_over_threads | ( | thread_callback_func | , |
void * | |||
) |
Definition at line 419 of file thread.c.
References thread_info::next.
Referenced by continue_1(), delete_breakpoint(), delete_inferior_1(), discard_all_continuations(), discard_all_intermediate_continuations(), do_all_continuations(), do_all_intermediate_continuations(), exec_continue(), exit_inferior_1(), find_stop_signal(), handle_vfork_child_exec_or_exit(), have_threads(), inf_has_multiple_threads(), infrun_thread_stop_requested(), linux_make_corefile_notes(), mi_cmd_exec_interrupt(), mi_cmd_target_detach(), mi_on_resume(), pd_update(), print_one_inferior(), proceed_after_attach(), remote_start_remote(), sol_get_ada_task_ptid(), and sync_threadlists().
struct cleanup* make_cleanup_restore_current_thread | ( | void | ) |
Definition at line 1354 of file thread.c.
References current_inferior(), do_restore_current_thread_cleanup(), find_thread_ptid(), frame_relative_level(), get_frame_id(), get_selected_frame_if_set(), current_thread_cleanup::inf_id, inferior_ptid, current_thread_cleanup::inferior_ptid, is_stopped(), make_cleanup_dtor(), null_ptid, inferior::num, ptid_equal(), thread_info::refcount, inferior::removable, restore_current_thread_cleanup_dtor(), current_thread_cleanup::selected_frame_id, current_thread_cleanup::selected_frame_level, target_has_memory, target_has_registers, target_has_stack, current_thread_cleanup::was_removable, current_thread_cleanup::was_stopped, and xmalloc().
Referenced by continue_1(), exec_continue(), fetch_inferior_event(), handle_vfork_child_exec_or_exit(), infrun_thread_stop_requested_callback(), mi_cmd_trace_frame_collected(), notice_new_inferior(), print_thread_info(), proceed_after_attach(), save_current_space_and_thread(), thread_apply_all_command(), thread_apply_command(), trace_dump_command(), and value_of_root_1().
int pc_in_thread_step_range | ( | CORE_ADDR | pc, |
struct thread_info * | thread | ||
) |
Definition at line 960 of file thread.c.
References thread_info::control, thread_control_state::step_range_end, and thread_control_state::step_range_start.
Referenced by handle_signal_stop(), process_event_stop_test(), and resume().
Definition at line 459 of file thread.c.
References thread_info::next, thread_info::num, thread_info::ptid, and ptid_equal().
Referenced by bpfinishpy_init(), bpstat_check_breakpoint_conditions(), breakpoint_re_set_thread(), do_captured_thread_select(), elf_gnu_ifunc_resolver_stop(), handle_signal_stop(), inferior_command(), mi_on_normal_stop(), pop_dummy_frame_bpt(), print_ada_task_info(), set_longjmp_breakpoint_for_call_dummy(), set_momentary_breakpoint(), step_1(), thread_command(), and varobj_create().
Definition at line 978 of file thread.c.
References _, current_thread, do_cleanups(), error(), gdb_assert, get_selected_frame(), inferior_ptid, is_exited(), LOCATION, make_cleanup(), make_cleanup_restore_current_thread(), make_cleanup_ui_out_list_begin_end(), make_cleanup_ui_out_table_begin_end(), make_cleanup_ui_out_tuple_begin_end(), name, thread_info::name, thread_info::next, null_ptid, thread_info::num, number_is_in_list(), print_stack_frame(), thread_info::ptid, ptid_equal(), ptid_get_pid(), thread_info::state, switch_to_thread(), target_core_of_thread(), target_extra_thread_info, target_pid_to_str(), target_thread_name(), THREAD_EXITED, THREAD_RUNNING, ui_left, ui_out_field_int(), ui_out_field_skip(), ui_out_field_string(), ui_out_is_mi_like_p(), ui_out_message(), ui_out_table_body(), ui_out_table_header(), ui_out_text(), update_thread_list(), xfree(), and xstrprintf().
Referenced by info_threads_command(), mi_cmd_list_thread_groups(), mi_cmd_thread_info(), and print_one_inferior().
void prune_threads | ( | void | ) |
Definition at line 626 of file thread.c.
References ALL_THREADS_SAFE, delete_thread(), thread_info::ptid, and thread_alive().
Referenced by bsd_uthread_update_thread_list(), do_captured_thread_select(), linux_nat_update_thread_list(), procfs_update_thread_list(), remote_update_thread_list(), sol_update_thread_list(), and thread_db_update_thread_list_td_ta_thr_iter().
Definition at line 707 of file thread.c.
References find_thread_ptid(), gdb_assert, thread_info::stack_temporaries, thread_info::stack_temporaries_enabled, and VEC_safe_push.
Referenced by call_function_by_hand_dummy().
Definition at line 850 of file thread.c.
References all, thread_info::executing, find_thread_ptid(), gdb_assert, minus_one_ptid, thread_info::next, thread_info::ptid, ptid_equal(), ptid_get_pid(), ptid_is_pid(), and threads_executing.
Referenced by handle_inferior_event_1(), linux_handle_extended_wait(), record_btrace_start_replaying(), record_full_wait_1(), remote_add_thread(), spu_skip_standalone_loader(), startup_inferior(), and target_resume().
Definition at line 772 of file thread.c.
References all, find_thread_ptid(), gdb_assert, minus_one_ptid, thread_info::next, observer_notify_target_resumed(), thread_info::ptid, ptid_equal(), ptid_get_pid(), ptid_is_pid(), thread_info::state, THREAD_EXITED, THREAD_RUNNING, and THREAD_STOPPED.
Referenced by linux_handle_extended_wait(), remote_add_thread(), resume(), and step_once().
Definition at line 886 of file thread.c.
References all, find_thread_ptid(), gdb_assert, minus_one_ptid, thread_info::next, observer_notify_thread_stop_requested(), thread_info::ptid, ptid_equal(), ptid_get_pid(), ptid_is_pid(), and thread_info::stop_requested.
Referenced by interrupt_target_1(), and set_stop_requested_callback().
void switch_to_thread | ( | ptid_t | ptid | ) |
Definition at line 1185 of file thread.c.
References find_inferior_ptid(), gdb_assert, get_thread_regcache(), arm-linux::inf, inferior_ptid, is_executing(), is_exited(), null_ptid, inferior::pspace, ptid_equal(), regcache_read_pc(), reinit_frame_cache(), set_current_inferior(), set_current_program_space(), and stop_pc.
Referenced by add_inferior_command(), add_thread_silent(), clone_inferior_command(), context_switch(), core_open(), detach_inferior_command(), displaced_step_fixup(), dispose_inferior(), do_all_continuations_ptid(), do_captured_thread_select(), follow_fork(), gdbsim_close_inferior(), handle_inferior_event_1(), handle_vfork_child_exec_or_exit(), inferior_command(), kill_inferior_command(), kill_or_detach(), mi_cmd_execute(), mi_cmd_remove_inferior(), mi_cmd_target_detach(), notice_new_inferior(), print_thread_info(), proceed(), proceed_after_attach_callback(), proceed_after_vfork_done(), proceed_thread(), proceed_thread_callback(), restore_current_thread(), restore_thread_cleanup(), run_one_inferior(), startup_inferior(), switch_back_to_stepped_thread(), switch_to_program_space_and_thread(), task_command_1(), thpy_switch(), thread_apply_all_command(), thread_apply_command(), and value_of_root_1().
Definition at line 754 of file thread.c.
References find_inferior_ptid(), find_thread_ptid(), arm-linux::inf, observer_notify_thread_ptid_changed(), inferior::pid, thread_info::ptid, and ptid_get_pid().
Referenced by bsd_uthread_update_thread_list(), bsd_uthread_wait(), darwin_init_thread_list(), gnu_create_inferior(), inf_validate_procs(), linux_nat_attach(), linux_nat_switch_fork(), linux_nat_wait_1(), procfs_init_inferior(), and remote_notice_new_inferior().
void thread_command | ( | char * | tidstr, |
int | from_tty | ||
) |
Definition at line 1555 of file thread.c.
References _, current_uiout, error(), gdb_thread_select(), inferior_ptid, is_exited(), null_ptid, pid_to_thread_id(), printf_filtered(), ptid_equal(), target_has_stack, and target_pid_to_str().
Referenced by _initialize_thread(), and core_open().
int thread_count | ( | void | ) |
Definition at line 435 of file thread.c.
References thread_info::next.
Referenced by core_open(), info_mach_threads_command(), mi_execute_command(), remote_start_remote(), thread_apply_all_command(), and update_global_location_list().
int thread_has_single_step_breakpoint_here | ( | struct thread_info * | tp, |
struct address_space * | aspace, | ||
CORE_ADDR | addr | ||
) |
Definition at line 151 of file thread.c.
References breakpoint_has_location_inserted_here(), thread_info::control, and thread_control_state::single_step_breakpoints.
Referenced by handle_signal_stop().
int thread_has_single_step_breakpoints_set | ( | struct thread_info * | tp | ) |
Definition at line 143 of file thread.c.
References thread_info::control, and thread_control_state::single_step_breakpoints.
Referenced by adjust_pc_after_break(), record_full_resume(), and resume().
Definition at line 471 of file thread.c.
References find_thread_id(), pid_to_ptid(), and thread_info::ptid.
Referenced by set_sig_thread_cmd(), and value_of_root_1().
Definition at line 694 of file thread.c.
References find_thread_ptid(), and thread_info::stack_temporaries_enabled.
Referenced by call_function_by_hand_dummy(), and evaluate_subexp().
int threads_are_executing | ( | void | ) |
Definition at line 880 of file thread.c.
References threads_executing.
Referenced by breakpoints_should_be_inserted_now().
void update_thread_list | ( | void | ) |
Definition at line 1735 of file thread.c.
References target_update_thread_list(), and update_threads_executing().
Referenced by checkpoint_command(), do_captured_list_thread_ids(), infpy_threads(), linux_make_corefile_notes(), mi_cmd_list_thread_groups(), normal_stop(), print_thread_info(), thread_apply_all_command(), and thread_find_command().
Definition at line 447 of file thread.c.
References thread_info::next, and thread_info::num.
Referenced by bppy_set_thread(), find_condition_and_thread(), gdbscm_set_breakpoint_thread_x(), insert_breakpoint_locations(), and watch_command_1().
Definition at line 719 of file thread.c.
References find_thread_ptid(), gdb_assert, thread_info::stack_temporaries, thread_info::stack_temporaries_enabled, VEC_empty, and VEC_iterate.
Referenced by evaluate_subexp().
typedef VEC | ( | value_ptr | ) |
int print_thread_events |
Definition at line 1653 of file thread.c.
Referenced by add_thread_with_info(), exit_lwp(), procfs_wait(), and windows_delete_thread().
struct cmd_list_element* thread_cmd_list |
struct thread_info* thread_list |
Definition at line 55 of file thread.c.
Referenced by darwin_check_new_threads(), new_thread(), and remote_start_remote().