GDB (xrefs)
|
#include "defs.h"
#include "infrun.h"
#include <ctype.h>
#include "symtab.h"
#include "frame.h"
#include "inferior.h"
#include "breakpoint.h"
#include "gdb_wait.h"
#include "gdbcore.h"
#include "gdbcmd.h"
#include "cli/cli-script.h"
#include "target.h"
#include "gdbthread.h"
#include "annotate.h"
#include "symfile.h"
#include "top.h"
#include <signal.h>
#include "inf-loop.h"
#include "regcache.h"
#include "value.h"
#include "observer.h"
#include "language.h"
#include "solib.h"
#include "main.h"
#include "dictionary.h"
#include "block.h"
#include "mi/mi-common.h"
#include "event-top.h"
#include "record.h"
#include "record-full.h"
#include "inline-frame.h"
#include "jit.h"
#include "tracepoint.h"
#include "continuations.h"
#include "interps.h"
#include "skip.h"
#include "probe.h"
#include "objfiles.h"
#include "completer.h"
#include "target-descriptions.h"
#include "target-dcache.h"
#include "terminal.h"
#include "solist.h"
Go to the source code of this file.
Classes | |
struct | step_over_info |
struct | displaced_step_request |
struct | displaced_step_inferior_state |
struct | execution_control_state |
struct | infcall_suspend_state |
struct | infcall_control_state |
Macros | |
#define | SET_SIGS(nsigs, sigs, flags) |
#define | UNSET_SIGS(nsigs, sigs, flags) |
#define | RESUME_ALL minus_one_ptid |
Typedefs | |
typedef void(* | for_each_just_stopped_thread_callback_func) (struct thread_info *tp) |
#define RESUME_ALL minus_one_ptid |
Definition at line 324 of file infrun.c.
Referenced by user_visible_resume_ptid().
#define SET_SIGS | ( | nsigs, | |
sigs, | |||
flags | |||
) |
Definition at line 297 of file infrun.c.
Referenced by handle_command().
#define UNSET_SIGS | ( | nsigs, | |
sigs, | |||
flags | |||
) |
Definition at line 305 of file infrun.c.
Referenced by handle_command().
typedef void(* for_each_just_stopped_thread_callback_func) (struct thread_info *tp) |
void _initialize_infrun | ( | void | ) |
Definition at line 7625 of file infrun.c.
References _, add_cmd(), add_com(), add_info(), add_info_alias(), add_setshow_auto_boolean_cmd(), add_setshow_boolean_cmd(), add_setshow_enum_cmd(), add_setshow_zinteger_cmd(), add_setshow_zuinteger_cmd(), can_use_displaced_stepping, class_maintenance, class_obscure, class_run, class_support, cmdlist, create_internalvar_type_lazy(), dbx_commands, debug_displaced, debug_infrun, detach_fork, disable_randomization, follow_exec_mode_names, follow_exec_mode_string, follow_fork_mode_kind_names, follow_fork_mode_string, handle_command(), inferior_ptid, infrun_inferior_exit(), infrun_thread_ptid_changed(), infrun_thread_stop_requested(), infrun_thread_thread_exit(), int, minus_one_ptid, no_class, non_stop_1, not_just_help_class_command(), null_ptid, observer_attach_inferior_exit(), observer_attach_thread_exit(), observer_attach_thread_ptid_changed(), observer_attach_thread_stop_requested(), observer_mode_1, sched_multi, scheduler_enums, scheduler_mode, set_cmd_completer(), set_disable_randomization(), set_exec_direction_func(), set_non_stop(), set_observer_mode(), set_schedlock_func(), set_stop_on_solib_events(), setdebuglist, setlist, show_can_use_displaced_stepping(), show_debug_displaced(), show_debug_infrun(), show_disable_randomization(), show_exec_direction_func(), show_follow_exec_mode_string(), show_follow_fork_mode_string(), show_non_stop(), show_observer_mode(), show_schedule_multiple(), show_scheduler_mode(), show_step_stop_if_no_debug(), show_stop_on_solib_events(), showdebuglist, showlist, signal_cache_update(), signal_catch, signal_pass, signal_print, signal_program, signal_stop, signals_info(), step_stop_if_no_debug, stop_on_solib_events, and xmalloc().
|
static |
Definition at line 1485 of file infrun.c.
References displaced_step_inferior_states, displaced_step_inferior_state::next, displaced_step_inferior_state::pid, pid, and xcalloc().
Referenced by displaced_step_prepare().
|
static |
Definition at line 3437 of file infrun.c.
References currently_stepping(), do_cleanups(), execution_control_state::event_thread, EXEC_REVERSE, execution_direction, gdbarch_decr_pc_after_break(), get_regcache_arch(), get_regcache_aspace(), get_thread_regcache(), target_waitstatus::kind, make_cleanup(), moribund_breakpoint_here_p(), non_stop, null_cleanup(), thread_info::prev_pc, execution_control_state::ptid, record_full_gdb_operation_disable_set(), record_full_is_used(), regcache_read_pc(), regcache_write_pc(), target_waitstatus::sig, software_breakpoint_inserted_here_p(), thread_info::stepped_breakpoint, target_supports_stopped_by_sw_breakpoint, TARGET_WAITKIND_STOPPED, thread_has_single_step_breakpoints_set(), target_waitstatus::value, and execution_control_state::ws.
Referenced by handle_inferior_event_1().
|
static |
Definition at line 6154 of file infrun.c.
References ALL_BLOCK_SYMBOLS, CATCH, END_CATCH, execution_control_state::event_thread, find_probe_by_pc(), func, get_frame_function(), get_frame_pc(), insert_exception_resume_breakpoint(), insert_exception_resume_from_probe(), bound_probe::probe, RETURN_MASK_ERROR, SYMBOL_BLOCK_VALUE, SYMBOL_IS_ARGUMENT, and TRY.
Referenced by process_event_stop_test().
void clear_exit_convenience_vars | ( | void | ) |
Definition at line 7550 of file infrun.c.
References clear_internalvar(), and lookup_internalvar().
Referenced by core_open(), and handle_inferior_event_1().
void clear_proceed_status | ( | int | step | ) |
Definition at line 2463 of file infrun.c.
References ALL_NON_EXITED_THREADS, clear_proceed_status_thread(), clear_step_over_info(), inferior::control, current_inferior(), inferior_ptid, inferior_thread(), NO_STOP_QUIETLY, non_stop, null_ptid, observer_notify_about_to_proceed(), thread_info::ptid, ptid_equal(), ptid_match(), stop_after_trap, inferior_control_state::stop_soon, and user_visible_resume_ptid().
Referenced by attach_command(), attach_command_post_wait(), continue_1(), do_initial_windows_stuff(), finish_command(), gdbsim_create_inferior(), go32_create_inferior(), init_wait_for_inferior(), jump_command(), m32r_create_inferior(), monitor_create_inferior(), proceed_after_attach_callback(), proceed_after_vfork_done(), proceed_thread(), proceed_thread_callback(), run_inferior_call(), signal_command(), step_once(), until_break_command(), and until_next_command().
|
static |
Definition at line 2429 of file infrun.c.
References bpstat_clear(), thread_control_state::command_interp, thread_info::control, debug_infrun, fprintf_unfiltered(), gdb_stdlog, thread_control_state::may_range_step, null_frame_id, thread_control_state::proceed_to_finish, thread_info::ptid, signal_pass_state(), thread_control_state::step_frame_id, thread_control_state::step_over_calls, STEP_OVER_UNDEBUGGABLE, thread_control_state::step_range_end, thread_control_state::step_range_start, thread_control_state::step_stack_frame_id, thread_control_state::step_start_function, thread_control_state::stepping_command, thread_control_state::stop_bpstat, thread_info::stop_requested, thread_suspend_state::stop_signal, thread_control_state::stop_step, thread_info::suspend, target_pid_to_str(), and thread_control_state::trap_expected.
Referenced by clear_proceed_status().
|
static |
Definition at line 1282 of file infrun.c.
References step_over_info::address, step_over_info::aspace, and step_over_info::nonsteppable_watchpoint_p.
Referenced by clear_proceed_status(), keep_going(), proceed(), resume(), stop_waiting(), and switch_back_to_stepped_thread().
|
static |
Definition at line 3423 of file infrun.c.
References debug_infrun, fprintf_unfiltered(), gdb_stdlog, inferior_ptid, ptid_equal(), switch_to_thread(), and target_pid_to_str().
Referenced by displaced_step_fixup(), handle_inferior_event_1(), handle_signal_stop(), handle_syscall_event(), and switch_back_to_stepped_thread().
|
static |
Definition at line 5827 of file infrun.c.
References bpstat_should_step(), thread_info::control, thread_control_state::step_range_end, thread_control_state::step_resume_breakpoint, thread_info::stepped_breakpoint, and thread_control_state::trap_expected.
Referenced by adjust_pc_after_break(), displaced_step_fixup(), handle_signal_stop(), resume(), and switch_back_to_stepped_thread().
|
static |
Definition at line 3014 of file infrun.c.
References delete_thread_infrun_breakpoints(), and for_each_just_stopped_thread().
Referenced by delete_just_stopped_threads_infrun_breakpoints_cleanup(), and fetch_inferior_event().
|
static |
Definition at line 3031 of file infrun.c.
References delete_just_stopped_threads_infrun_breakpoints().
Referenced by fetch_inferior_event(), and wait_for_inferior().
|
static |
Definition at line 3023 of file infrun.c.
References delete_single_step_breakpoints(), and for_each_just_stopped_thread().
Referenced by handle_inferior_event_1(), and handle_signal_stop().
|
static |
Definition at line 2973 of file infrun.c.
References delete_exception_resume_breakpoint(), delete_single_step_breakpoints(), and delete_step_resume_breakpoint().
Referenced by delete_just_stopped_threads_infrun_breakpoints().
void discard_infcall_control_state | ( | struct infcall_control_state * | inf_status | ) |
Definition at line 7504 of file infrun.c.
References bpstat_clear(), disp_del_at_next_stop, breakpoint::disposition, thread_control_state::exception_resume_breakpoint, thread_control_state::step_resume_breakpoint, thread_control_state::stop_bpstat, infcall_control_state::thread_control, and xfree().
Referenced by call_function_by_hand_dummy().
void discard_infcall_suspend_state | ( | struct infcall_suspend_state * | inf_state | ) |
Definition at line 7363 of file infrun.c.
References regcache_xfree(), infcall_suspend_state::registers, infcall_suspend_state::siginfo_data, and xfree().
Referenced by remove_dummy_frame(), and restore_infcall_suspend_state().
|
static |
Definition at line 1592 of file infrun.c.
References gdbarch_displaced_step_free_closure(), null_ptid, displaced_step_inferior_state::step_closure, displaced_step_inferior_state::step_gdbarch, and displaced_step_inferior_state::step_ptid.
Referenced by displaced_step_clear_cleanup(), and displaced_step_prepare().
|
static |
Definition at line 1606 of file infrun.c.
References displaced_step_clear().
Referenced by displaced_step_fixup(), and displaced_step_prepare().
Definition at line 1615 of file infrun.c.
References fprintf_unfiltered(), fputs_unfiltered(), and len.
Referenced by amd64_displaced_step_copy_insn(), displaced_step_fixup(), displaced_step_prepare(), i386_displaced_step_copy_insn(), resume(), and simple_displaced_step_copy_insn().
|
static |
Definition at line 1792 of file infrun.c.
References breakpoint_here_p(), context_switch(), thread_info::control, currently_stepping(), debug_displaced, displaced_step_clear_cleanup(), displaced_step_dump_bytes(), displaced_step_prepare(), displaced_step_restore(), do_cleanups(), fprintf_unfiltered(), gdb_stdlog, gdbarch_displaced_step_fixup(), gdbarch_displaced_step_hw_singlestep(), gdbarch_have_nonsteppable_watchpoint(), get_displaced_stepping_state(), get_regcache_arch(), get_regcache_aspace(), get_thread_regcache(), inferior_thread(), make_cleanup(), maybe_software_singlestep(), displaced_step_request::next, null_ptid, paddress(), thread_info::ptid, displaced_step_request::ptid, ptid_equal(), ptid_get_pid(), read_memory(), regcache_read_pc(), regcache_write_pc(), displaced_step_inferior_state::step_closure, displaced_step_inferior_state::step_copy, displaced_step_inferior_state::step_gdbarch, displaced_step_inferior_state::step_original, displaced_step_inferior_state::step_ptid, displaced_step_inferior_state::step_request_queue, thread_suspend_state::stop_signal, thread_info::suspend, switch_to_thread(), target_have_steppable_watchpoint, target_pid_to_str(), target_resume(), target_stopped_by_watchpoint, thread_control_state::trap_expected, and xfree().
Referenced by handle_inferior_event_1(), handle_signal_stop(), and set_gdbarch_displaced_step_fixup().
Definition at line 1469 of file infrun.c.
References get_displaced_stepping_state(), null_ptid, ptid_equal(), and displaced_step_inferior_state::step_ptid.
Referenced by do_target_resume().
Definition at line 1641 of file infrun.c.
References _, add_displaced_stepping_state(), thread_info::control, debug_displaced, discard_cleanups(), displaced_step_clear(), displaced_step_clear_cleanup(), displaced_step_dump_bytes(), do_cleanups(), find_thread_ptid(), fprintf_unfiltered(), free_current_contents(), gdb_assert, gdb_stdlog, gdbarch_displaced_step_copy_insn(), gdbarch_displaced_step_copy_insn_p(), gdbarch_displaced_step_location(), gdbarch_max_insn_length(), get_regcache_arch(), get_thread_regcache(), inferior_ptid, len, make_cleanup(), thread_control_state::may_range_step, MEMORY_ERROR, displaced_step_request::next, null_ptid, paddress(), displaced_step_request::ptid, ptid_equal(), ptid_get_pid(), regcache_read_pc(), regcache_write_pc(), safe_strerror(), save_inferior_ptid(), status, displaced_step_inferior_state::step_closure, displaced_step_inferior_state::step_copy, displaced_step_inferior_state::step_gdbarch, displaced_step_inferior_state::step_original, displaced_step_inferior_state::step_ptid, displaced_step_inferior_state::step_request_queue, displaced_step_inferior_state::step_saved_copy, target_pid_to_str(), target_read_memory(), throw_error(), and xmalloc().
Referenced by displaced_step_fixup(), and resume().
|
static |
Definition at line 1777 of file infrun.c.
References debug_displaced, fprintf_unfiltered(), gdb_stdlog, gdbarch_max_insn_length(), len, paddress(), displaced_step_inferior_state::step_copy, displaced_step_inferior_state::step_gdbarch, displaced_step_inferior_state::step_saved_copy, target_pid_to_str(), and write_memory_ptid().
Referenced by displaced_step_fixup(), and handle_inferior_event_1().
|
static |
Definition at line 7491 of file infrun.c.
References restore_infcall_control_state().
Referenced by make_cleanup_restore_infcall_control_state().
|
static |
Definition at line 7350 of file infrun.c.
References restore_infcall_suspend_state().
Referenced by make_cleanup_restore_infcall_suspend_state().
Definition at line 2057 of file infrun.c.
References displaced_step_in_progress(), inferior_thread(), thread_info::ptid, ptid_get_pid(), signal_pass, step_over_info_valid_p(), thread_suspend_state::stop_signal, thread_info::suspend, target_pass_signals(), target_resume(), and target_terminal_inferior().
Referenced by resume(), and switch_back_to_stepped_thread().
|
static |
Definition at line 6357 of file infrun.c.
References thread_info::control, execution_control_state::event_thread, thread_control_state::stop_step, and stop_waiting().
Referenced by handle_step_into_function(), handle_step_into_function_backward(), and process_event_stop_test().
void fetch_inferior_event | ( | void * | client_data | ) |
Definition at line 3257 of file infrun.c.
References _, thread_info::control, inferior::control, debug_infrun, delete_just_stopped_threads_infrun_breakpoints(), delete_just_stopped_threads_infrun_breakpoints_cleanup(), deprecated_target_wait_hook, discard_cleanups(), do_cleanups(), execution_control_state::event_thread, exec_done_display_p, execution_direction, find_inferior_ptid(), finish_thread_state_cleanup(), handle_inferior_event(), INF_EXEC_COMPLETE, INF_EXEC_CONTINUE, inferior_event_handler(), inferior_ptid, interpreter_async, is_running(), target_waitstatus::kind, make_bpstat_clear_actions_cleanup(), make_cleanup(), make_cleanup_restore_current_thread(), make_cleanup_restore_current_traceframe(), make_cleanup_restore_integer(), minus_one_ptid, NO_STOP_QUIETLY, non_stop, normal_stop(), null_cleanup(), null_ptid, observer_notify_sync_execution_done(), overlay_cache_invalid, print_target_wait_results(), printf_unfiltered(), execution_control_state::ptid, ptid_equal(), reinstall_readline_callback_handler_cleanup(), set_current_traceframe(), thread_info::step_multi, inferior_control_state::stop_soon, thread_control_state::stop_step, sync_execution, target_dcache_invalidate(), target_execution_direction, target_has_execution, target_wait(), TARGET_WAITKIND_EXITED, TARGET_WAITKIND_NO_RESUMED, TARGET_WAITKIND_SIGNALLED, TARGET_WNOHANG, execution_control_state::wait_some_more, and execution_control_state::ws.
Referenced by inferior_event_handler().
|
static |
Definition at line 3638 of file infrun.c.
References find_pc_partial_function(), gdbarch_deprecated_function_start_offset(), gdbarch_skip_entrypoint(), gdbarch_skip_entrypoint_p(), execution_control_state::stop_func_end, execution_control_state::stop_func_filled_in, execution_control_state::stop_func_name, execution_control_state::stop_func_start, and stop_pc.
Referenced by handle_step_into_function(), handle_step_into_function_backward(), and process_event_stop_test().
|
static |
Definition at line 2542 of file infrun.c.
References ALL_NON_EXITED_THREADS, gdb_assert, inferior_ptid, inferior_thread(), non_stop, thread_info::ptid, ptid_get_pid(), sched_multi, schedlock_applies(), and thread_still_needs_step_over().
Referenced by proceed().
|
static |
Definition at line 1054 of file infrun.c.
References _, add_inferior(), add_program_space(), ALL_THREADS_SAFE, program_space::aspace, inferior::aspace, breakpoint_init_inferior(), breakpoint_re_set(), thread_info::control, current_inferior(), current_program_space, delete_thread(), thread_control_state::exception_resume_breakpoint, exec_file_attach(), exec_file_find(), exit_inferior_num_silent(), follow_exec_mode_new, follow_exec_mode_string, gdb_assert, gdb_flush(), gdb_stdout, gdb_sysroot, inf_execd, inferior_ptid, inferior_thread(), insert_breakpoints(), jit_inferior_created_hook(), mark_breakpoints_out(), maybe_new_address_space(), name, no_shared_libraries(), program_space::num, pid, printf_unfiltered(), inferior::pspace, thread_info::ptid, ptid_equal(), ptid_get_pid(), set_current_inferior(), set_current_program_space(), set_initial_language(), thread_control_state::single_step_breakpoints, solib_create_inferior_hook(), thread_control_state::step_range_end, thread_control_state::step_range_start, thread_control_state::step_resume_breakpoint, thread_info::stop_requested, symbol_file_add(), SYMFILE_DEFER_BP_RESET, inferior::symfile_flags, SYMFILE_MAINLINE, SYMFILE_NO_READ, target_clear_description(), target_find_description(), target_pid_to_str(), update_breakpoints_after_exec(), and xfree().
Referenced by handle_inferior_event_1().
|
static |
Definition at line 640 of file infrun.c.
References _, clone_momentary_breakpoint(), thread_control_state::command_interp, command_interp(), thread_info::control, delete_exception_resume_breakpoint(), delete_step_resume_breakpoint(), detach_fork, thread_control_state::exception_resume_breakpoint, find_thread_ptid(), follow_fork_inferior(), follow_fork_mode_child, follow_fork_mode_string, follow_inferior_reset_breakpoints(), get_last_target_status(), inferior_ptid, inferior_thread(), internal_error(), target_waitstatus::kind, minus_one_ptid, non_stop, null_frame_id, nullify_last_target_wait_ptid(), thread_info::pending_follow, ptid_equal(), target_waitstatus::related_pid, thread_control_state::step_frame_id, thread_control_state::step_range_end, thread_control_state::step_range_start, thread_control_state::step_resume_breakpoint, switch_to_thread(), TARGET_WAITKIND_FORKED, TARGET_WAITKIND_SPURIOUS, TARGET_WAITKIND_VFORKED, target_waitstatus::value, and warning().
Referenced by handle_inferior_event_1(), and proceed().
Definition at line 398 of file infrun.c.
References _, add_inferior(), add_program_space(), add_thread(), program_space::aspace, inferior::aspace, inferior::attach_flag, program_space::breakpoints_not_allowed, clone_program_space(), copy_inferior_target_desc_info(), copy_terminal_info(), current_inferior(), debug_infrun, detach_fork, do_cleanups(), fprintf_filtered(), gdb_assert, gdb_stderr, gdb_stdlog, inferior::gdbarch, inferior_ptid, inferior_thread(), info_verbose, target_waitstatus::kind, new_address_space(), non_stop, inferior::pending_detach, thread_info::pending_follow, pid_to_ptid(), inferior::pspace, ptid_get_pid(), target_waitstatus::related_pid, inferior::removable, remove_breakpoints_pid(), save_current_program_space(), save_inferior_ptid(), sched_multi, set_current_program_space(), solib_create_inferior_hook(), inferior::symfile_flags, SYMFILE_NO_READ, sync_execution, target_detach(), target_follow_fork(), target_is_async_p, target_pid_to_str(), target_terminal_ours_for_output(), TARGET_WAITKIND_VFORKED, target_waitstatus::value, inferior::vfork_child, inferior::vfork_parent, and inferior::waiting_for_vfork_done.
Referenced by follow_fork().
|
static |
Definition at line 801 of file infrun.c.
References breakpoint_re_set(), breakpoint_re_set_thread(), thread_info::control, bp_location::enabled, thread_control_state::exception_resume_breakpoint, inferior_thread(), insert_breakpoints(), breakpoint::loc, and thread_control_state::step_resume_breakpoint.
Referenced by follow_fork().
|
static |
Definition at line 2988 of file infrun.c.
References ALL_NON_EXITED_THREADS, func, inferior_ptid, inferior_thread(), non_stop, null_ptid, ptid_equal(), and target_has_execution.
Referenced by delete_just_stopped_threads_infrun_breakpoints(), and delete_just_stopped_threads_single_step_breakpoints().
enum gdb_signal gdb_signal_from_command | ( | int | num | ) |
Definition at line 7096 of file infrun.c.
Referenced by handle_command(), queue_signal_command(), signal_command(), signals_info(), and VEC().
struct displaced_step_closure* get_displaced_step_closure_by_addr | ( | CORE_ADDR | addr | ) |
Definition at line 1508 of file infrun.c.
References get_displaced_stepping_state(), inferior_ptid, null_ptid, ptid_equal(), ptid_get_pid(), displaced_step_inferior_state::step_closure, displaced_step_inferior_state::step_copy, and displaced_step_inferior_state::step_ptid.
Referenced by arm_pc_is_thumb().
|
static |
Definition at line 1453 of file infrun.c.
References displaced_step_inferior_state::next, and displaced_step_inferior_state::pid.
Referenced by displaced_step_fixup(), displaced_step_in_progress(), get_displaced_step_closure_by_addr(), handle_inferior_event_1(), prepare_for_detach(), and resume().
struct regcache* get_infcall_suspend_state_regcache | ( | struct infcall_suspend_state * | inf_state | ) |
Definition at line 7371 of file infrun.c.
References infcall_suspend_state::registers.
Referenced by dummy_frame_sniffer().
Definition at line 3662 of file infrun.c.
References inferior::control, find_inferior_ptid(), gdb_assert, and inferior_control_state::stop_soon.
Referenced by handle_inferior_event_1(), and handle_signal_stop().
void get_last_target_status | ( | ptid_t * | ptidp, |
struct target_waitstatus * | status | ||
) |
Definition at line 3408 of file infrun.c.
References target_last_wait_ptid, and target_last_waitstatus.
Referenced by checkpoint_command(), continue_command(), follow_fork(), get_pending_status(), linux_nat_kill(), mi_on_normal_stop(), normal_stop(), print_it_catch_syscall(), proc_set_current_signal(), program_info(), and signal_catchpoint_print_it().
|
static |
Definition at line 6885 of file infrun.c.
References _, do_cleanups(), error(), error_no_arg(), gdb_buildargv(), gdb_flush(), gdb_signal_from_command(), gdb_signal_from_name(), gdb_signal_to_name(), gdb_stdout, int, make_cleanup_freeargv(), printf_unfiltered(), query(), SET_SIGS, sig_print_header(), sig_print_info(), signal_cache_update(), signal_pass, signal_print, signal_program, signal_stop, target_pass_signals(), target_program_signals(), and UNSET_SIGS.
Referenced by _initialize_infrun().
|
static |
Definition at line 4211 of file infrun.c.
References handle_inferior_event_1(), value_free_to_mark(), and value_mark().
Referenced by fetch_inferior_event(), infrun_thread_stop_requested_callback(), prepare_for_detach(), and wait_for_inferior().
|
static |
Definition at line 3684 of file infrun.c.
References _, add_thread(), adjust_pc_after_break(), inferior::aspace, bpstat_causes_stop(), bpstat_stop_status(), breakpoint_inserted_here_p(), breakpoint_retire_moribund(), program_space::breakpoints_not_allowed, clear_exit_convenience_vars(), context_switch(), thread_info::control, current_inferior(), debug_displaced, debug_infrun, delete_just_stopped_threads_single_step_breakpoints(), detach_breakpoints(), detach_fork, displaced_step_fixup(), displaced_step_restore(), execution_control_state::event_thread, target_waitstatus::execd_pathname, inferior::exit_code, find_inferior_ptid(), find_thread_ptid(), follow_exec(), follow_fork(), follow_fork_mode_child, follow_fork_mode_string, fprintf_filtered(), fprintf_unfiltered(), gdb_flush(), gdb_stdlog, gdb_stdout, gdbarch_gdb_signal_to_target(), gdbarch_gdb_signal_to_target_p(), get_current_regcache(), get_displaced_stepping_state(), get_inferior_stop_soon(), get_regcache_arch(), get_regcache_aspace(), get_thread_arch_aspace_regcache(), get_thread_regcache(), handle_signal_stop(), handle_solib_event(), handle_syscall_event(), handle_vfork_child_exec_or_exit(), inferior::has_exit_code, inferior_ptid, inferior_thread(), insert_breakpoints(), target_waitstatus::integer, internal_error(), keep_going(), target_waitstatus::kind, lookup_internalvar(), thread_control_state::may_range_step, minus_one_ptid, NO_STOP_QUIETLY, non_stop, observer_notify_exited(), observer_notify_no_history(), observer_notify_signal_exited(), paddress(), thread_info::pending_follow, prepare_to_wait(), process_event_stop_test(), inferior::pspace, execution_control_state::ptid, ptid_equal(), ptid_get_pid(), regcache_read_pc(), regcache_write_pc(), reinit_frame_cache(), target_waitstatus::related_pid, resume(), return_child_result_value, set_current_inferior(), set_current_program_space(), set_executing(), set_internalvar_integer(), set_last_target_status(), target_waitstatus::sig, displaced_step_inferior_state::step_ptid, thread_control_state::stop_bpstat, STOP_NONE, stop_on_solib_events, stop_pc, stop_print_frame, STOP_QUIETLY, STOP_QUIETLY_NO_SIGSTOP, STOP_QUIETLY_REMOTE, thread_suspend_state::stop_signal, stop_stack_dummy, stop_waiting(), thread_info::suspend, switch_to_thread(), sync_execution, target_can_async_p, target_mourn_inferior(), target_terminal_ours(), TARGET_WAITKIND_EXECD, TARGET_WAITKIND_EXITED, TARGET_WAITKIND_FORKED, TARGET_WAITKIND_IGNORE, TARGET_WAITKIND_LOADED, TARGET_WAITKIND_NO_HISTORY, TARGET_WAITKIND_NO_RESUMED, TARGET_WAITKIND_SIGNALLED, TARGET_WAITKIND_SPURIOUS, TARGET_WAITKIND_STOPPED, TARGET_WAITKIND_SYSCALL_ENTRY, TARGET_WAITKIND_SYSCALL_RETURN, TARGET_WAITKIND_VFORK_DONE, TARGET_WAITKIND_VFORKED, target_waitstatus::value, inferior::waiting_for_vfork_done, execution_control_state::ws, and xfree().
Referenced by handle_inferior_event().
|
static |
Definition at line 4225 of file infrun.c.
References bpstat_clear(), bpstat_explains_signal(), bpstat_stop_status(), context_switch(), thread_info::control, current_target, currently_stepping(), debug_infrun, delete_just_stopped_threads_single_step_breakpoints(), deprecated_context_hook, inferior::detaching, displaced_step_fixup(), do_cleanups(), execution_control_state::event_thread, find_inferior_ptid(), fprintf_unfiltered(), frame_id_eq(), gdb_assert, gdb_signal_to_symbol_string(), gdb_stdlog, gdbarch_decr_pc_after_break(), gdbarch_have_nonsteppable_watchpoint(), gdbarch_single_step_through_delay(), gdbarch_single_step_through_delay_p(), get_current_frame(), get_current_regcache(), get_frame_arch(), get_inferior_stop_soon(), get_regcache_arch(), get_regcache_aspace(), get_stack_frame_id(), get_thread_regcache(), execution_control_state::hit_singlestep_breakpoint, inferior_ptid, insert_hp_step_resume_breakpoint_at_frame(), keep_going(), target_waitstatus::kind, make_cleanup(), NO_STOP_QUIETLY, null_cleanup(), observer_notify_signal_received(), paddress(), pc_at_non_inline_function(), pc_in_thread_step_range(), pid_to_thread_id(), thread_info::prev_pc, process_event_stop_test(), program_breakpoint_here_p(), thread_info::ptid, execution_control_state::ptid, ptid_equal(), record_full_gdb_operation_disable_set(), record_full_is_used(), regcache_read_pc(), regcache_write_pc(), save_inferior_ptid(), signal_print, signal_program, signal_stop_state(), single_step_breakpoint_inserted_here_p(), skip_inline_frames(), thread_info::step_after_step_resume_breakpoint, thread_control_state::step_range_end, thread_control_state::step_resume_breakpoint, thread_control_state::step_stack_frame_id, thread_info::stepping_over_breakpoint, thread_info::stepping_over_watchpoint, stop_after_trap, thread_control_state::stop_bpstat, stop_pc, stop_print_frame, STOP_QUIETLY, STOP_QUIETLY_NO_SIGSTOP, STOP_QUIETLY_REMOTE, thread_info::stop_requested, thread_suspend_state::stop_signal, thread_control_state::stop_step, stop_waiting(), stopped_by_random_signal, thread_info::suspend, switch_back_to_stepped_thread(), target_have_steppable_watchpoint, target_pid_to_str(), target_stopped_by_hw_breakpoint, target_stopped_by_sw_breakpoint, target_stopped_by_watchpoint, target_stopped_data_address, target_terminal_inferior(), target_terminal_ours_for_output(), TARGET_WAITKIND_STOPPED, thread_has_single_step_breakpoint_here(), thread_control_state::trap_expected, watchpoints_triggered(), and execution_control_state::ws.
Referenced by handle_inferior_event_1().
|
static |
Definition at line 5841 of file infrun.c.
References compunit_language(), thread_info::control, symtab_and_line::end, end_stepping_range(), execution_control_state::event_thread, fill_in_stop_func(), find_pc_compunit_symtab(), find_pc_line(), find_pc_overlay(), gdbarch_adjust_breakpoint_address(), gdbarch_adjust_breakpoint_address_p(), gdbarch_skip_prologue(), get_current_frame(), get_frame_program_space(), init_sal(), insert_step_resume_breakpoint_at_sal(), keep_going(), language_asm, null_frame_id, symtab_and_line::pc, symtab_and_line::pspace, symtab_and_line::section, thread_control_state::step_range_end, thread_control_state::step_range_start, execution_control_state::stop_func_end, execution_control_state::stop_func_start, and stop_pc.
Referenced by process_event_stop_test().
|
static |
Definition at line 5920 of file infrun.c.
References compunit_language(), thread_info::control, symtab_and_line::end, end_stepping_range(), execution_control_state::event_thread, fill_in_stop_func(), find_pc_compunit_symtab(), find_pc_line(), gdbarch_skip_prologue(), keep_going(), language_asm, symtab_and_line::pc, thread_control_state::step_range_end, thread_control_state::step_range_start, execution_control_state::stop_func_start, and stop_pc.
Referenced by process_event_stop_test().
|
static |
Definition at line 3600 of file infrun.c.
References bpstat_causes_stop(), bpstat_stop_status(), catch_syscall_enabled(), catching_syscall_number(), context_switch(), thread_info::control, debug_infrun, execution_control_state::event_thread, fprintf_unfiltered(), gdb_stdlog, get_regcache_aspace(), get_thread_regcache(), inferior_ptid, keep_going(), execution_control_state::ptid, ptid_equal(), regcache_read_pc(), thread_control_state::stop_bpstat, stop_pc, target_waitstatus::syscall_number, target_waitstatus::value, and execution_control_state::ws.
Referenced by handle_inferior_event_1().
|
static |
Definition at line 872 of file infrun.c.
References _, add_program_space(), any_live_thread_of_process(), program_space::aspace, inferior::aspace, clone_program_space(), current_inferior(), current_program_space, debug_infrun, do_cleanups(), fprintf_filtered(), fprintf_unfiltered(), gdb_assert, gdb_stdlog, inferior_ptid, info_verbose, iterate_over_threads(), make_cleanup_restore_current_thread(), maybe_new_address_space(), non_stop, null_ptid, inferior::pending_detach, inferior::pid, proceed_after_vfork_done(), inferior::pspace, thread_info::ptid, inferior::removable, save_current_inferior(), save_current_program_space(), save_current_space_and_thread(), save_inferior_ptid(), set_current_program_space(), switch_to_thread(), inferior::symfile_flags, SYMFILE_NO_READ, target_detach(), target_terminal_ours_for_output(), inferior::vfork_child, and inferior::vfork_parent.
Referenced by handle_inferior_event_1().
|
static |
Definition at line 6773 of file infrun.c.
References execute_cmd_pre_hook().
Referenced by normal_stop().
|
static |
Definition at line 1547 of file infrun.c.
References inferior::pid, and remove_displaced_stepping_state().
Referenced by _initialize_infrun().
Definition at line 1929 of file infrun.c.
References inferior_ptid, displaced_step_request::next, displaced_step_inferior_state::next, displaced_step_request::ptid, ptid_equal(), displaced_step_inferior_state::step_ptid, and displaced_step_inferior_state::step_request_queue.
Referenced by _initialize_infrun().
|
static |
Definition at line 2927 of file infrun.c.
References infrun_thread_stop_requested_callback(), iterate_over_threads(), displaced_step_request::next, displaced_step_inferior_state::next, displaced_step_request::ptid, ptid_match(), displaced_step_inferior_state::step_request_queue, and xfree().
Referenced by _initialize_infrun().
|
static |
Definition at line 2868 of file infrun.c.
References do_all_continuations_thread(), do_all_intermediate_continuations_thread(), do_cleanups(), execution_control_state::event_thread, find_thread_ptid(), handle_inferior_event(), inferior_thread(), is_executing(), is_running(), target_waitstatus::kind, make_cleanup_restore_current_thread(), minus_one_ptid, normal_stop(), overlay_cache_invalid, thread_info::ptid, execution_control_state::ptid, ptid_equal(), ptid_get_pid(), ptid_is_pid(), target_waitstatus::sig, target_dcache_invalidate(), TARGET_WAITKIND_STOPPED, target_waitstatus::value, execution_control_state::wait_some_more, and execution_control_state::ws.
Referenced by infrun_thread_stop_requested().
|
static |
Definition at line 2963 of file infrun.c.
References nullify_last_target_wait_ptid(), thread_info::ptid, and ptid_equal().
Referenced by _initialize_infrun().
void init_thread_stepping_state | ( | struct thread_info * | tss | ) |
Definition at line 3385 of file infrun.c.
References thread_info::step_after_step_resume_breakpoint, thread_info::stepped_breakpoint, thread_info::stepping_over_breakpoint, and thread_info::stepping_over_watchpoint.
Referenced by proceed().
void init_wait_for_inferior | ( | void | ) |
Definition at line 2802 of file infrun.c.
References breakpoint_init_inferior(), clear_inline_frame_state(), clear_proceed_status(), inf_starting, inferior_ptid, and minus_one_ptid.
Referenced by attach_command(), do_initial_windows_stuff(), extended_remote_create_inferior(), gdbsim_create_inferior(), m32r_create_inferior(), mips_create_inferior(), monitor_open(), remote_start_remote(), and run_command_1().
|
static |
Definition at line 6078 of file infrun.c.
References bp_exception_resume, CATCH, thread_info::control, debug_infrun, END_CATCH, thread_control_state::exception_resume_breakpoint, fprintf_unfiltered(), gdb_stdlog, get_frame_arch(), inferior_thread(), lookup_symbol(), thread_info::num, read_var_value(), RETURN_MASK_ERROR, set_momentary_breakpoint_at_pc(), SYMBOL_LINKAGE_NAME, breakpoint::thread, TRY, value_as_address(), value_optimized_out(), and VAR_DOMAIN.
Referenced by check_exception_resume().
|
static |
Definition at line 6123 of file infrun.c.
References bp_exception_resume, thread_info::control, debug_infrun, thread_control_state::exception_resume_breakpoint, fprintf_unfiltered(), gdb_stdlog, get_frame_arch(), get_objfile_arch(), inferior_thread(), thread_info::num, bound_probe::objfile, paddress(), probe_safe_evaluate_at_pc(), set_momentary_breakpoint_at_pc(), breakpoint::thread, and value_as_address().
Referenced by check_exception_resume().
|
static |
Definition at line 5995 of file infrun.c.
References bp_hp_step_resume, find_pc_overlay(), gdb_assert, gdbarch_addr_bits_remove(), get_frame_arch(), get_frame_pc(), get_frame_program_space(), get_stack_frame_id(), init_sal(), insert_step_resume_breakpoint_at_sal_1(), symtab_and_line::pc, symtab_and_line::pspace, and symtab_and_line::section.
Referenced by handle_signal_stop(), and resume().
Definition at line 6055 of file infrun.c.
References bp_longjmp_resume, thread_info::control, debug_infrun, thread_control_state::exception_resume_breakpoint, fprintf_unfiltered(), gdb_assert, gdb_stdlog, inferior_thread(), paddress(), and set_momentary_breakpoint_at_pc().
Referenced by process_event_stop_test().
|
static |
Definition at line 6028 of file infrun.c.
References find_pc_overlay(), frame_id_p(), frame_unwind_caller_arch(), frame_unwind_caller_id(), frame_unwind_caller_pc(), frame_unwind_program_space(), gdb_assert, gdbarch_addr_bits_remove(), init_sal(), insert_step_resume_breakpoint_at_sal(), symtab_and_line::pc, symtab_and_line::pspace, and symtab_and_line::section.
Referenced by process_event_stop_test().
void insert_step_resume_breakpoint_at_sal | ( | struct gdbarch * | gdbarch, |
struct symtab_and_line | sr_sal, | ||
struct frame_id | sr_id | ||
) |
Definition at line 5978 of file infrun.c.
References bp_step_resume, and insert_step_resume_breakpoint_at_sal_1().
Referenced by finish_backward(), handle_step_into_function(), insert_step_resume_breakpoint_at_caller(), and process_event_stop_test().
|
static |
Definition at line 5957 of file infrun.c.
References bp_hp_step_resume, bp_step_resume, thread_info::control, debug_infrun, fprintf_unfiltered(), gdb_assert, gdb_stdlog, inferior_thread(), paddress(), symtab_and_line::pc, set_momentary_breakpoint(), and thread_control_state::step_resume_breakpoint.
Referenced by insert_hp_step_resume_breakpoint_at_frame(), and insert_step_resume_breakpoint_at_sal().
|
static |
Definition at line 6235 of file infrun.c.
References CATCH, clear_step_over_info(), thread_info::control, discard_cleanups(), END_CATCH, execution_control_state::event_thread, exception_print(), gdb_stderr, get_current_regcache(), get_regcache_arch(), get_regcache_aspace(), get_thread_regcache(), execution_control_state::hit_singlestep_breakpoint, insert_breakpoints(), make_cleanup(), prepare_to_wait(), thread_info::prev_pc, execution_control_state::ptid, regcache_read_pc(), resume(), resume_cleanups(), RETURN_MASK_ERROR, set_step_over_info(), signal_program, thread_info::stepping_over_watchpoint, thread_suspend_state::stop_signal, stop_waiting(), thread_info::suspend, target_have_steppable_watchpoint, thread_still_needs_step_over(), thread_control_state::trap_expected, TRY, and use_displaced_stepping().
Referenced by handle_inferior_event_1(), handle_signal_stop(), handle_step_into_function(), handle_step_into_function_backward(), handle_syscall_event(), process_event_stop_test(), recursively_search_psymtabs(), and switch_back_to_stepped_thread().
struct cleanup* make_cleanup_restore_infcall_control_state | ( | struct infcall_control_state * | inf_status | ) |
Definition at line 7498 of file infrun.c.
References do_restore_infcall_control_state_cleanup(), and make_cleanup().
Referenced by call_function_by_hand_dummy().
struct cleanup* make_cleanup_restore_infcall_suspend_state | ( | struct infcall_suspend_state * | inf_state | ) |
Definition at line 7357 of file infrun.c.
References do_restore_infcall_suspend_state_cleanup(), and make_cleanup().
Referenced by call_function_by_hand_dummy().
Definition at line 2005 of file infrun.c.
References EXEC_FORWARD, execution_direction, gdbarch_software_single_step(), gdbarch_software_single_step_p(), and get_current_frame().
Referenced by displaced_step_fixup(), and resume().
void normal_stop | ( | void | ) |
Definition at line 6551 of file infrun.c.
References _, annotate_stopped(), annotate_thread_changed(), async_enable_stdin(), batch_silent, breakpoint_auto_delete(), breakpoints_should_be_inserted_now(), catch_errors(), disable_current_display(), discard_cleanups(), do_cleanups(), DUMMY_FRAME, finish_thread_state_cleanup(), frame_pop(), gdb_assert, get_current_frame(), get_frame_type(), get_last_target_status(), has_stack_frames(), hook_stop_stub(), inferior_ptid, inferior_thread(), target_waitstatus::kind, make_cleanup(), minus_one_ptid, non_stop, null_cleanup(), null_ptid, observer_notify_end_stepping_range(), observer_notify_normal_stop(), observer_notify_signal_received(), print_stop_event(), printf_filtered(), prune_inferiors(), ptid_equal(), remove_breakpoints(), RETURN_MASK_ALL, select_frame(), set_current_sal_from_frame(), stop_print_frame, stop_stack_dummy, STOP_STACK_DUMMY, stopped_by_random_signal, sync_execution, target_can_async_p, target_has_execution, target_pid_to_str(), target_terminal_ours(), target_terminal_ours_for_output(), TARGET_WAITKIND_EXITED, TARGET_WAITKIND_NO_RESUMED, TARGET_WAITKIND_SIGNALLED, TARGET_WAITKIND_STOPPED, and update_thread_list().
Referenced by attach_command_post_wait(), fetch_inferior_event(), infrun_thread_stop_requested_callback(), proceed(), resume_cleanups(), run_inferior_call(), start_remote(), and step_once().
void nullify_last_target_wait_ptid | ( | void | ) |
Definition at line 3415 of file infrun.c.
References minus_one_ptid.
Referenced by follow_fork(), fork_load_infrun_state(), and infrun_thread_thread_exit().
void prepare_for_detach | ( | void | ) |
Definition at line 3087 of file infrun.c.
References _, current_inferior(), debug_infrun, deprecated_target_wait_hook, inferior::detaching, discard_cleanups(), error(), finish_thread_state_cleanup(), fprintf_unfiltered(), gdb_stdlog, get_displaced_stepping_state(), handle_inferior_event(), make_cleanup(), make_cleanup_restore_integer(), minus_one_ptid, null_ptid, overlay_cache_invalid, inferior::pid, pid_to_ptid(), print_target_wait_results(), execution_control_state::ptid, ptid_equal(), displaced_step_inferior_state::step_ptid, target_dcache_invalidate(), target_wait(), execution_control_state::wait_some_more, and execution_control_state::ws.
Referenced by target_detach().
|
static |
Definition at line 6342 of file infrun.c.
References debug_infrun, fprintf_unfiltered(), gdb_stdlog, and execution_control_state::wait_some_more.
Referenced by handle_inferior_event_1(), keep_going(), and switch_back_to_stepped_thread().
void print_end_stepping_range_reason | ( | struct ui_out * | uiout | ) |
Definition at line 6375 of file infrun.c.
References async_reason_lookup(), EXEC_ASYNC_END_STEPPING_RANGE, ui_out_field_string(), and ui_out_is_mi_like_p().
Referenced by cli_on_end_stepping_range(), mi_on_end_stepping_range(), and tui_on_end_stepping_range().
Definition at line 6408 of file infrun.c.
References annotate_exited(), async_reason_lookup(), current_inferior(), EXEC_ASYNC_EXITED, EXEC_ASYNC_EXITED_NORMALLY, inferior::num, inferior::pid, pid_to_ptid(), plongest(), target_pid_to_str(), ui_out_field_fmt(), ui_out_field_string(), ui_out_is_mi_like_p(), and ui_out_text().
Referenced by cli_on_exited(), mi_on_exited(), and tui_on_exited().
void print_no_history_reason | ( | struct ui_out * | uiout | ) |
Definition at line 6475 of file infrun.c.
References ui_out_text().
Referenced by cli_on_no_history(), mi_on_no_history(), and tui_on_no_history().
void print_signal_exited_reason | ( | struct ui_out * | uiout, |
enum gdb_signal | siggnal | ||
) |
Definition at line 6387 of file infrun.c.
References annotate_signal_name(), annotate_signal_name_end(), annotate_signal_string(), annotate_signal_string_end(), annotate_signalled(), async_reason_lookup(), EXEC_ASYNC_EXITED_SIGNALLED, gdb_signal_to_name(), gdb_signal_to_string(), ui_out_field_string(), ui_out_is_mi_like_p(), and ui_out_text().
Referenced by cli_on_signal_exited(), mi_on_signal_exited(), and tui_on_signal_exited().
void print_signal_received_reason | ( | struct ui_out * | uiout, |
enum gdb_signal | siggnal | ||
) |
Definition at line 6441 of file infrun.c.
References annotate_signal(), annotate_signal_name(), annotate_signal_name_end(), annotate_signal_string(), annotate_signal_string_end(), async_reason_lookup(), EXEC_ASYNC_SIGNAL_RECEIVED, gdb_signal_to_name(), gdb_signal_to_string(), inferior_thread(), thread_info::num, thread_info::ptid, target_pid_to_str(), ui_out_field_fmt(), ui_out_field_string(), ui_out_is_mi_like_p(), and ui_out_text().
Referenced by cli_on_signal_received(), mi_on_signal_received(), and tui_on_signal_received().
void print_stop_event | ( | struct target_waitstatus * | ws | ) |
Definition at line 6486 of file infrun.c.
References _, bpstat_print(), thread_info::control, do_displays(), find_pc_function(), frame_id_eq(), get_current_frame(), get_frame_id(), get_selected_frame(), inferior_thread(), internal_error(), target_waitstatus::kind, PRINT_NOTHING, PRINT_SRC_AND_LOC, PRINT_SRC_ONLY, print_stack_frame(), PRINT_UNKNOWN, SRC_AND_LOC, SRC_LINE, thread_control_state::step_frame_id, thread_control_state::step_start_function, thread_control_state::stop_bpstat, stop_pc, and thread_control_state::stop_step.
Referenced by mi_on_normal_stop(), and normal_stop().
|
static |
Definition at line 3039 of file infrun.c.
References fprintf_unfiltered(), gdb_stdlog, mem_fileopen(), ptid_get_lwp(), ptid_get_pid(), ptid_get_tid(), target_pid_to_str(), target_waitstatus_to_string(), ui_file_delete(), ui_file_xstrdup(), and xfree().
Referenced by fetch_inferior_event(), prepare_for_detach(), and wait_for_inferior().
void proceed | ( | CORE_ADDR | addr, |
enum gdb_signal | siggnal | ||
) |
Definition at line 2592 of file infrun.c.
References annotate_starting(), breakpoint_here_p(), clear_step_over_info(), thread_control_state::command_interp, command_interp(), thread_info::control, debug_infrun, EXEC_REVERSE, execution_direction, find_thread_needs_step_over(), follow_fork(), fprintf_unfiltered(), gdb_flush(), gdb_signal_to_symbol_string(), gdb_stdlog, gdb_stdout, gdbarch_single_step_through_delay(), gdbarch_single_step_through_delay_p(), get_current_frame(), get_current_regcache(), get_regcache_arch(), get_regcache_aspace(), INF_EXEC_COMPLETE, inferior_event_handler(), inferior_ptid, inferior_thread(), init_thread_stepping_state(), insert_breakpoints(), non_stop, normal_stop(), ordinary_breakpoint_here, paddress(), thread_info::prev_pc, thread_info::ptid, regcache_read_pc(), regcache_write_pc(), resume(), set_step_over_info(), thread_info::stepping_over_breakpoint, stop_pc, thread_suspend_state::stop_signal, thread_info::suspend, switch_to_thread(), target_can_async_p, target_pid_to_str(), thread_control_state::trap_expected, use_displaced_stepping(), and wait_for_inferior().
Referenced by attach_command_post_wait(), continue_1(), finish_backward(), finish_command(), finish_forward(), jump_command(), proceed_after_attach_callback(), proceed_after_vfork_done(), proceed_thread(), proceed_thread_callback(), run_command_1(), run_inferior_call(), signal_command(), step_once(), until_break_command(), and until_next_command().
|
static |
Definition at line 844 of file infrun.c.
References clear_proceed_status(), debug_infrun, fprintf_unfiltered(), gdb_stdlog, is_executing(), is_running(), pid, proceed(), thread_info::ptid, ptid_get_pid(), thread_info::stop_requested, thread_suspend_state::stop_signal, thread_info::suspend, switch_to_thread(), and target_pid_to_str().
Referenced by handle_vfork_child_exec_or_exit().
|
static |
Definition at line 4766 of file infrun.c.
References bp_location::address, bp_hp_step_resume, bpstat_what(), BPSTAT_WHAT_CLEAR_LONGJMP_RESUME, BPSTAT_WHAT_HP_STEP_RESUME, BPSTAT_WHAT_KEEP_CHECKING, BPSTAT_WHAT_SET_LONGJMP_RESUME, BPSTAT_WHAT_SINGLE, BPSTAT_WHAT_STEP_RESUME, BPSTAT_WHAT_STOP_NOISY, BPSTAT_WHAT_STOP_SILENT, bpstat_what::call_dummy, check_exception_resume(), check_longjmp_breakpoint_for_call_dummy(), thread_info::control, thread_info::current_line, thread_info::current_symtab, debug_infrun, delete_exception_resume_breakpoint(), delete_step_resume_breakpoint(), symtab_and_line::end, end_stepping_range(), execution_control_state::event_thread, thread_control_state::exception_resume_breakpoint, EXEC_REVERSE, execution_direction, fill_in_stop_func(), find_frame_sal(), find_pc_function(), find_pc_line(), find_pc_overlay(), fprintf_unfiltered(), frame_find_by_id(), frame_id_eq(), frame_id_p(), frame_unwind_caller_id(), function_name_is_marked_for_skip(), gdb_assert, gdb_stdlog, gdbarch_addr_bits_remove(), gdbarch_get_longjmp_target(), gdbarch_get_longjmp_target_p(), gdbarch_in_solib_return_trampoline(), gdbarch_skip_solib_resolver(), gdbarch_skip_trampoline_code(), get_current_frame(), get_frame_arch(), get_frame_id(), get_frame_program_space(), get_frame_type(), get_stack_frame_id(), handle_step_into_function(), handle_step_into_function_backward(), in_solib_dynsym_resolve_code(), init_sal(), thread_info::initiating_frame, INLINE_FRAME, inline_skipped_frames(), insert_longjmp_resume_breakpoint(), insert_step_resume_breakpoint_at_caller(), insert_step_resume_breakpoint_at_sal(), bpstat_what::is_longjmp, keep_going(), symtab_and_line::line, breakpoint::loc, bpstat_what::main_action, thread_control_state::may_range_step, null_frame_id, outer_frame_id, paddress(), symtab_and_line::pc, pc_in_thread_step_range(), bp_location::permanent, thread_info::prev_pc, probe_safe_evaluate_at_pc(), thread_control_state::proceed_to_finish, symtab_and_line::pspace, execution_control_state::ptid, symtab_and_line::section, set_step_info(), SIGTRAMP_FRAME, skip_language_trampoline(), thread_info::step_after_step_resume_breakpoint, thread_control_state::step_frame_id, step_into_inline_frame(), STEP_OVER_ALL, thread_control_state::step_over_calls, STEP_OVER_NONE, STEP_OVER_UNDEBUGGABLE, thread_control_state::step_range_end, thread_control_state::step_range_start, thread_control_state::step_resume_breakpoint, thread_control_state::step_stack_frame_id, thread_control_state::step_start_function, step_stop_if_no_debug, thread_info::stepped_breakpoint, stepped_in_from(), thread_info::stepping_over_breakpoint, thread_control_state::stop_bpstat, execution_control_state::stop_func_name, execution_control_state::stop_func_start, stop_pc, stop_print_frame, stop_stack_dummy, stop_waiting(), switch_back_to_stepped_thread(), symtab_and_line::symtab, breakpoint::type, and value_as_address().
Referenced by handle_inferior_event_1(), and handle_signal_stop().
|
static |
Definition at line 3231 of file infrun.c.
References async_command_editing_p, gdb_rl_callback_handler_reinstall(), interpreter_async, and sync_execution.
Referenced by fetch_inferior_event().
|
static |
Definition at line 1524 of file infrun.c.
References displaced_step_inferior_states, gdb_assert, displaced_step_inferior_state::next, displaced_step_inferior_state::pid, and xfree().
Referenced by infrun_inferior_exit().
void restore_infcall_control_state | ( | struct infcall_control_state * | inf_status | ) |
Definition at line 7450 of file infrun.c.
References bpstat_clear(), catch_errors(), thread_info::control, inferior::control, current_inferior(), disp_del_at_next_stop, breakpoint::disposition, thread_control_state::exception_resume_breakpoint, get_current_frame(), infcall_control_state::inferior_control, inferior_thread(), restore_selected_frame(), RETURN_MASK_ERROR, select_frame(), infcall_control_state::selected_frame_id, thread_control_state::step_resume_breakpoint, stop_after_trap, infcall_control_state::stop_after_trap, thread_control_state::stop_bpstat, stop_stack_dummy, infcall_control_state::stop_stack_dummy, stopped_by_random_signal, infcall_control_state::stopped_by_random_signal, target_has_stack, infcall_control_state::thread_control, and xfree().
Referenced by call_function_by_hand_dummy(), and do_restore_infcall_control_state_cleanup().
void restore_infcall_suspend_state | ( | struct infcall_suspend_state * | inf_state | ) |
Definition at line 7321 of file infrun.c.
References current_target, discard_infcall_suspend_state(), gdbarch_get_siginfo_type(), get_current_regcache(), get_regcache_arch(), inferior_thread(), regcache_cpy(), infcall_suspend_state::registers, infcall_suspend_state::siginfo_data, infcall_suspend_state::siginfo_gdbarch, stop_pc, infcall_suspend_state::stop_pc, thread_info::suspend, target_has_execution, TARGET_OBJECT_SIGNAL_INFO, target_write(), infcall_suspend_state::thread_suspend, and TYPE_LENGTH.
Referenced by do_restore_infcall_suspend_state_cleanup(), and pop_dummy_frame().
|
static |
Definition at line 7525 of file infrun.c.
References cleanup::arg, inferior_ptid, and xfree().
Referenced by save_inferior_ptid().
|
static |
Definition at line 7427 of file infrun.c.
References _, frame_find_by_id(), select_frame(), and warning().
Referenced by restore_infcall_control_state().
void resume | ( | enum gdb_signal | sig | ) |
Definition at line 2104 of file infrun.c.
References bpstat_should_step(), breakpoint_here_p(), breakpoint_inserted_here_p(), clear_step_over_info(), thread_info::control, current_inferior(), currently_stepping(), debug_displaced, debug_infrun, delete_single_step_breakpoints(), discard_cleanups(), displaced_step_dump_bytes(), displaced_step_prepare(), do_target_resume(), EXEC_REVERSE, execution_direction, fprintf_unfiltered(), gdb_assert, gdb_signal_to_symbol_string(), gdb_stdlog, gdbarch_cannot_step_breakpoint(), gdbarch_displaced_step_hw_singlestep(), gdbarch_skip_permanent_breakpoint(), get_current_frame(), get_current_regcache(), get_displaced_stepping_state(), get_regcache_arch(), get_regcache_aspace(), get_thread_regcache(), inferior_ptid, inferior_thread(), insert_breakpoints(), insert_hp_step_resume_breakpoint_at_frame(), insert_single_step_breakpoint(), breakpoint::loc, make_cleanup(), thread_control_state::may_range_step, maybe_software_singlestep(), paddress(), pc_in_thread_step_range(), bp_location::permanent, permanent_breakpoint_here, thread_info::ptid, ptid_get_pid(), QUIT, read_memory(), regcache_read_pc(), resume_cleanups(), set_running(), thread_info::step_after_step_resume_breakpoint, displaced_step_inferior_state::step_closure, step_over_info_valid_p(), thread_control_state::step_resume_breakpoint, thread_info::stepped_breakpoint, thread_control_state::stepping_command, target_pid_to_str(), thread_has_single_step_breakpoints_set(), thread_control_state::trap_expected, use_displaced_stepping(), and user_visible_resume_ptid().
Referenced by do_initial_windows_stuff(), handle_inferior_event_1(), keep_going(), and proceed().
|
static |
Definition at line 1955 of file infrun.c.
References delete_single_step_breakpoints(), inferior_ptid, inferior_thread(), normal_stop(), null_ptid, and ptid_equal().
Referenced by keep_going(), and resume().
struct infcall_control_state* save_infcall_control_state | ( | void | ) |
Definition at line 7398 of file infrun.c.
References bpstat_copy(), thread_info::control, inferior::control, current_inferior(), thread_control_state::exception_resume_breakpoint, get_frame_id(), get_selected_frame(), infcall_control_state::inferior_control, inferior_thread(), infcall_control_state::selected_frame_id, thread_control_state::step_resume_breakpoint, stop_after_trap, infcall_control_state::stop_after_trap, thread_control_state::stop_bpstat, stop_stack_dummy, infcall_control_state::stop_stack_dummy, stopped_by_random_signal, infcall_control_state::stopped_by_random_signal, infcall_control_state::thread_control, and xmalloc().
Referenced by call_function_by_hand_dummy().
struct infcall_suspend_state* save_infcall_suspend_state | ( | void | ) |
Definition at line 7269 of file infrun.c.
References current_target, discard_cleanups(), do_cleanups(), gdbarch_get_siginfo_type(), gdbarch_get_siginfo_type_p(), get_current_regcache(), get_regcache_arch(), inferior_thread(), len, make_cleanup(), regcache_dup(), infcall_suspend_state::registers, infcall_suspend_state::siginfo_data, infcall_suspend_state::siginfo_gdbarch, stop_pc, infcall_suspend_state::stop_pc, thread_suspend_state::stop_signal, thread_info::suspend, TARGET_OBJECT_SIGNAL_INFO, target_read(), infcall_suspend_state::thread_suspend, TYPE_LENGTH, xfree(), and xmalloc().
Referenced by call_function_by_hand_dummy().
struct cleanup* save_inferior_ptid | ( | void | ) |
Definition at line 7538 of file infrun.c.
References inferior_ptid, make_cleanup(), restore_inferior_ptid(), and xmalloc().
Referenced by aix_thread_resume(), aix_thread_wait(), aix_thread_xfer_partial(), check_stopped_by_watchpoint(), detach_breakpoints(), displaced_step_prepare(), follow_fork_inferior(), handle_signal_stop(), handle_vfork_child_exec_or_exit(), linux_child_follow_fork(), linux_corefile_thread_callback(), linux_nat_xfer_partial(), ps_lgetfpregs(), ps_lgetregs(), ps_lsetfpregs(), ps_lsetregs(), ps_xfer_memory(), reattach_breakpoints(), regcache_raw_read(), regcache_raw_write(), rw_common(), sol_thread_resume(), sol_thread_wait(), sol_thread_xfer_partial(), and write_memory_ptid().
|
static |
Definition at line 2530 of file infrun.c.
References thread_info::control, schedlock_on, schedlock_step, scheduler_mode, and thread_control_state::stepping_command.
Referenced by find_thread_needs_step_over(), and switch_back_to_stepped_thread().
|
static |
Definition at line 169 of file infrun.c.
References _, error(), and target_supports_disable_randomization().
Referenced by _initialize_infrun().
|
static |
Definition at line 7572 of file infrun.c.
References _, error(), EXEC_FORWARD, exec_forward, EXEC_REVERSE, and target_can_execute_reverse.
Referenced by _initialize_infrun().
|
static |
Definition at line 3396 of file infrun.c.
References thread_info::ptid, status, and target_last_waitstatus.
Referenced by handle_inferior_event_1().
|
static |
Definition at line 184 of file infrun.c.
References _, error(), non_stop, non_stop_1, and target_has_execution.
Referenced by _initialize_infrun().
|
static |
Definition at line 213 of file infrun.c.
References _, error(), may_insert_breakpoints, may_insert_fast_tracepoints, may_insert_tracepoints, may_stop, may_write_memory, may_write_registers, non_stop, non_stop_1, observer_mode, observer_mode_1, pagination_enabled, printf_filtered(), target_has_execution, and update_target_permissions().
Referenced by _initialize_infrun().
|
static |
Definition at line 1984 of file infrun.c.
References _, error(), schedlock_off, scheduler_mode, target_can_lock_scheduler, and target_shortname.
Referenced by _initialize_infrun().
void set_step_info | ( | struct frame_info * | frame, |
struct symtab_and_line | sal | ||
) |
Definition at line 3371 of file infrun.c.
References thread_info::control, thread_info::current_line, thread_info::current_symtab, get_frame_id(), get_stack_frame_id(), inferior_thread(), symtab_and_line::line, thread_control_state::step_frame_id, thread_control_state::step_stack_frame_id, and symtab_and_line::symtab.
Referenced by finish_command(), process_event_stop_test(), and set_step_frame().
|
static |
Definition at line 1270 of file infrun.c.
References step_over_info::address, step_over_info::aspace, and step_over_info::nonsteppable_watchpoint_p.
Referenced by keep_going(), and proceed().
|
static |
Definition at line 338 of file infrun.c.
References update_solib_breakpoints().
Referenced by _initialize_infrun().
|
static |
Definition at line 1563 of file infrun.c.
References _, AUTO_BOOLEAN_AUTO, can_use_displaced_stepping, fprintf_filtered(), and non_stop.
Referenced by _initialize_infrun().
|
static |
Definition at line 134 of file infrun.c.
References _, and fprintf_filtered().
Referenced by _initialize_infrun().
|
static |
Definition at line 142 of file infrun.c.
References _, and fprintf_filtered().
Referenced by _initialize_infrun().
|
static |
Definition at line 154 of file infrun.c.
References _, fprintf_filtered(), fputs_filtered(), and target_supports_disable_randomization().
Referenced by _initialize_infrun().
|
static |
Definition at line 7590 of file infrun.c.
References _, EXEC_FORWARD, EXEC_REVERSE, fprintf_filtered(), and internal_error().
Referenced by _initialize_infrun().
|
static |
Definition at line 1045 of file infrun.c.
References _, and fprintf_filtered().
Referenced by _initialize_infrun().
|
static |
Definition at line 381 of file infrun.c.
References _, and fprintf_filtered().
Referenced by _initialize_infrun().
|
static |
Definition at line 197 of file infrun.c.
References _, and fprintf_filtered().
Referenced by _initialize_infrun().
|
static |
Definition at line 249 of file infrun.c.
References _, and fprintf_filtered().
Referenced by _initialize_infrun().
|
static |
Definition at line 7608 of file infrun.c.
References _, and fprintf_filtered().
Referenced by _initialize_infrun().
|
static |
Definition at line 1974 of file infrun.c.
References _, and fprintf_filtered().
Referenced by _initialize_infrun().
|
static |
Definition at line 109 of file infrun.c.
References _, and fprintf_filtered().
Referenced by _initialize_infrun().
|
static |
Definition at line 344 of file infrun.c.
References _, and fprintf_filtered().
Referenced by _initialize_infrun().
|
static |
Definition at line 6859 of file infrun.c.
References _, and printf_filtered().
Referenced by handle_command(), and signals_info().
|
static |
Definition at line 6866 of file infrun.c.
References gdb_signal_to_name(), gdb_signal_to_string(), name, printf_filtered(), signal_print, signal_program, and signal_stop.
Referenced by handle_command(), and signals_info().
|
static |
Definition at line 7229 of file infrun.c.
References allocate_computed_value(), allocate_value(), gdbarch_get_siginfo_type(), gdbarch_get_siginfo_type_p(), inferior_ptid, null_ptid, ptid_equal(), and target_has_stack.
|
static |
Definition at line 7180 of file infrun.c.
References _, current_target, error(), TARGET_OBJECT_SIGNAL_INFO, target_read(), TYPE_LENGTH, validate_siginfo_access(), value_contents_all_raw(), value_offset(), and value_type().
Definition at line 7201 of file infrun.c.
References _, current_target, error(), TARGET_OBJECT_SIGNAL_INFO, target_write(), TYPE_LENGTH, validate_siginfo_access(), value_contents_all_raw(), value_offset(), and value_type().
|
static |
Definition at line 6798 of file infrun.c.
References int, signal_catch, signal_pass, signal_print, signal_program, and signal_stop.
Referenced by _initialize_infrun(), handle_command(), signal_catch_update(), signal_pass_update(), signal_print_update(), and signal_stop_update().
Definition at line 6848 of file infrun.c.
References signal_cache_update(), signal_catch, signal_pass, and target_pass_signals().
Referenced by signal_catchpoint_insert_location(), and signal_catchpoint_remove_location().
Definition at line 6792 of file infrun.c.
References signal_program.
Referenced by clear_proceed_status_thread(), get_pending_status(), linux_child_follow_fork(), linux_nat_filter_event(), queue_signal_command(), remote_program_signals(), and signal_command().
Definition at line 6835 of file infrun.c.
References signal_cache_update(), and signal_program.
Referenced by nto_initialize_signals().
Definition at line 6786 of file infrun.c.
References signal_print.
Definition at line 6825 of file infrun.c.
References signal_cache_update(), and signal_print.
Referenced by check_thread_signals(), and nto_initialize_signals().
Definition at line 6780 of file infrun.c.
References signal_stop.
Referenced by handle_signal_stop().
Definition at line 6815 of file infrun.c.
References signal_cache_update(), and signal_stop.
Referenced by check_thread_signals(), and nto_initialize_signals().
|
static |
Definition at line 7110 of file infrun.c.
References _, GDB_SIGNAL_FIRST, gdb_signal_from_command(), gdb_signal_from_name(), int, parse_and_eval_long(), printf_filtered(), QUIT, sig_print_header(), and sig_print_info().
Referenced by _initialize_infrun().
void start_remote | ( | int | from_tty | ) |
Definition at line 2768 of file infrun.c.
References inferior::control, current_inferior(), current_target, normal_stop(), post_create_inferior(), STOP_QUIETLY_REMOTE, inferior_control_state::stop_soon, and wait_for_inferior().
Referenced by monitor_open(), and remote_start_remote().
|
static |
Definition at line 1312 of file infrun.c.
References step_over_info::aspace, and stepping_past_nonsteppable_watchpoint().
Referenced by do_target_resume(), and resume().
|
static |
Definition at line 3579 of file infrun.c.
References frame_id_eq(), get_frame_id(), get_frame_type(), get_prev_frame(), and INLINE_FRAME.
Referenced by process_event_stop_test().
int stepping_past_instruction_at | ( | struct address_space * | aspace, |
CORE_ADDR | address | ||
) |
Definition at line 1292 of file infrun.c.
References step_over_info::address, step_over_info::aspace, and breakpoint_address_match().
Referenced by should_be_inserted().
int stepping_past_nonsteppable_watchpoint | ( | void | ) |
Definition at line 1304 of file infrun.c.
References step_over_info::nonsteppable_watchpoint_p.
Referenced by should_be_inserted(), and step_over_info_valid_p().
|
static |
Definition at line 6219 of file infrun.c.
References clear_step_over_info(), debug_infrun, fprintf_unfiltered(), gdb_stdlog, and execution_control_state::wait_some_more.
Referenced by end_stepping_range(), handle_inferior_event_1(), handle_signal_stop(), keep_going(), and process_event_stop_test().
|
static |
Definition at line 5583 of file infrun.c.
References ALL_NON_EXITED_THREADS, clear_step_over_info(), context_switch(), thread_info::control, currently_stepping(), debug_infrun, delete_thread(), do_target_resume(), execution_control_state::event_thread, fprintf_unfiltered(), gdb_assert, gdb_stdlog, get_current_frame(), get_frame_address_space(), get_frame_arch(), get_thread_regcache(), execution_control_state::hit_singlestep_breakpoint, inferior_ptid, insert_single_step_breakpoint(), is_exited(), keep_going(), non_stop, prepare_to_wait(), thread_info::prev_pc, thread_info::ptid, execution_control_state::ptid, ptid_get_pid(), regcache_read_pc(), sched_multi, schedlock_applies(), signal_program, thread_control_state::step_range_end, thread_control_state::stepping_command, stop_pc, thread_suspend_state::stop_signal, thread_info::suspend, switch_to_thread(), target_pid_to_str(), target_thread_alive(), thread_still_needs_step_over(), thread_control_state::trap_expected, and user_visible_resume_ptid().
Referenced by handle_signal_stop(), and process_event_stop_test().
|
static |
Definition at line 2509 of file infrun.c.
References breakpoint_here_p(), get_regcache_aspace(), get_thread_regcache(), ordinary_breakpoint_here, thread_info::ptid, regcache_read_pc(), and thread_info::stepping_over_breakpoint.
Referenced by find_thread_needs_step_over(), keep_going(), and switch_back_to_stepped_thread().
void update_observer_mode | ( | void | ) |
Definition at line 262 of file infrun.c.
References _, may_insert_breakpoints, may_insert_fast_tracepoints, may_insert_tracepoints, may_stop, non_stop, observer_mode, observer_mode_1, and printf_filtered().
Referenced by set_target_permissions(), and set_write_memory_permission().
void update_signals_program_target | ( | void | ) |
Definition at line 317 of file infrun.c.
References signal_program, and target_program_signals().
Referenced by remote_start_remote().
Definition at line 1582 of file infrun.c.
References AUTO_BOOLEAN_AUTO, AUTO_BOOLEAN_TRUE, can_use_displaced_stepping, find_record_target(), gdbarch_displaced_step_copy_insn_p(), and non_stop.
Referenced by keep_going(), proceed(), and resume().
Definition at line 2021 of file infrun.c.
References inferior_ptid, non_stop, pid_to_ptid(), ptid_get_pid(), RESUME_ALL, sched_multi, schedlock_on, schedlock_step, scheduler_mode, and target_supports_multi_process.
Referenced by clear_proceed_status(), resume(), run_inferior_call(), signal_command(), step_once(), and switch_back_to_stepped_thread().
|
static |
Definition at line 7151 of file infrun.c.
References _, error(), inferior_ptid, is_exited(), is_running(), null_ptid, and ptid_equal().
Referenced by siginfo_value_read(), and siginfo_value_write().
|
static |
void wait_for_inferior | ( | void | ) |
Definition at line 3165 of file infrun.c.
References debug_infrun, delete_just_stopped_threads_infrun_breakpoints_cleanup(), deprecated_target_wait_hook, discard_cleanups(), do_cleanups(), finish_thread_state_cleanup(), fprintf_unfiltered(), gdb_stdlog, handle_inferior_event(), make_cleanup(), minus_one_ptid, overlay_cache_invalid, print_target_wait_results(), execution_control_state::ptid, target_dcache_invalidate(), target_wait(), execution_control_state::wait_some_more, and execution_control_state::ws.
Referenced by attach_command(), do_initial_windows_stuff(), notice_new_inferior(), proceed(), run_inferior_call(), and start_remote().
|
static |
Definition at line 1764 of file infrun.c.
References do_cleanups(), inferior_ptid, save_inferior_ptid(), and write_memory().
Referenced by displaced_step_restore().
|
static |
Definition at line 1560 of file infrun.c.
Referenced by _initialize_infrun(), show_can_use_displaced_stepping(), and use_displaced_stepping().
int debug_displaced = 0 |
Definition at line 132 of file infrun.c.
Referenced by _initialize_infrun(), amd64_displaced_step_copy_insn(), amd64_displaced_step_fixup(), amd64_relocate_instruction(), arm_copy_alu_imm(), arm_copy_alu_reg(), arm_copy_alu_shifted_reg(), arm_copy_b_bl_blx(), arm_copy_block_xfer(), arm_copy_bx_blx_reg(), arm_copy_copro_load_store(), arm_copy_extra_ld_st(), arm_copy_ldr_str_ldrb_strb(), arm_copy_preload(), arm_copy_preload_reg(), arm_copy_svc(), arm_copy_undef(), arm_copy_unmodified(), arm_copy_unpred(), arm_displaced_init_closure(), arm_linux_cleanup_svc(), arm_linux_copy_svc(), arm_linux_displaced_step_copy_insn(), arm_pc_is_thumb(), arm_process_displaced_insn(), cleanup_block_load_all(), cleanup_block_load_pc(), cleanup_block_store_pc(), cleanup_svc(), displaced_read_reg(), displaced_step_fixup(), displaced_step_prepare(), displaced_step_restore(), displaced_write_reg(), fixup_riprel(), handle_inferior_event_1(), i386_displaced_step_copy_insn(), i386_displaced_step_fixup(), i386_relocate_instruction(), ppc_displaced_step_fixup(), resume(), s390_displaced_step_fixup(), simple_displaced_step_copy_insn(), thumb2_copy_alu_imm(), thumb2_copy_b_bl_blx(), thumb2_copy_block_xfer(), thumb2_copy_copro_load_store(), thumb2_copy_load_literal(), thumb2_copy_load_reg_imm(), thumb2_copy_preload(), thumb2_copy_table_branch(), thumb_32bit_copy_undef(), thumb_copy_16bit_ldr_literal(), thumb_copy_alu_reg(), thumb_copy_b(), thumb_copy_bx_blx_reg(), thumb_copy_cbnz_cbz(), thumb_copy_pc_relative_32bit(), thumb_copy_pop_pc_16bit(), thumb_copy_svc(), thumb_copy_unmodified_16bit(), thumb_copy_unmodified_32bit(), thumb_decode_pc_relative_16bit(), and thumb_process_displaced_insn().
unsigned int debug_infrun = 0 |
Definition at line 140 of file infrun.c.
Referenced by _initialize_infrun(), bpstat_what(), clear_proceed_status_thread(), context_switch(), fetch_inferior_event(), follow_fork_inferior(), handle_inferior_event_1(), handle_signal_stop(), handle_syscall_event(), handle_vfork_child_exec_or_exit(), insert_exception_resume_breakpoint(), insert_exception_resume_from_probe(), insert_longjmp_resume_breakpoint(), insert_step_resume_breakpoint_at_sal_1(), prepare_for_detach(), prepare_to_wait(), proceed(), proceed_after_vfork_done(), process_event_stop_test(), resume(), should_be_inserted(), stop_waiting(), switch_back_to_stepped_thread(), and wait_for_inferior().
|
static |
Definition at line 130 of file infrun.c.
Referenced by _initialize_infrun(), follow_fork(), follow_fork_inferior(), and handle_inferior_event_1().
int disable_randomization = 1 |
Definition at line 151 of file infrun.c.
Referenced by _initialize_infrun(), extended_remote_create_inferior(), and linux_nat_create_inferior().
|
static |
Definition at line 1448 of file infrun.c.
Referenced by add_displaced_stepping_state(), and remove_displaced_stepping_state().
|
static |
|
static |
Definition at line 7562 of file infrun.c.
Referenced by set_exec_direction_func().
int execution_direction = EXEC_FORWARD |
Definition at line 7561 of file infrun.c.
Referenced by adjust_pc_after_break(), call_function_by_hand_dummy(), exec_direction_default(), exec_direction_forward(), exec_reverse_continue(), exec_reverse_once(), fetch_inferior_event(), finish_command(), maybe_software_singlestep(), ppc64_skip_trampoline_code(), ppc_skip_trampoline_code(), proceed(), process_event_stop_test(), record_btrace_resume(), record_btrace_wait(), record_full_core_resume(), record_full_resume(), record_full_wait_1(), record_full_wait_cleanups(), remote_resume(), and resume().
Definition at line 1036 of file infrun.c.
Referenced by _initialize_infrun().
|
static |
Definition at line 1034 of file infrun.c.
Referenced by follow_exec().
|
static |
Definition at line 1043 of file infrun.c.
Referenced by _initialize_infrun(), and follow_exec().
|
static |
Definition at line 370 of file infrun.c.
Referenced by follow_fork(), and handle_inferior_event_1().
Definition at line 373 of file infrun.c.
Referenced by _initialize_infrun().
|
static |
Definition at line 379 of file infrun.c.
Referenced by _initialize_infrun(), follow_fork(), and handle_inferior_event_1().
int non_stop = 0 |
Definition at line 180 of file infrun.c.
Referenced by adjust_pc_after_break(), attach_command(), attach_command_post_wait(), clear_proceed_status(), continue_1(), continue_command(), exec_continue(), extended_remote_attach(), fetch_inferior_event(), find_thread_needs_step_over(), follow_fork(), follow_fork_inferior(), for_each_just_stopped_thread(), get_event_thread(), get_pending_status(), handle_inferior_event_1(), handle_notification(), handle_vfork_child_exec_or_exit(), inferior_event_handler(), interrupt_command(), interrupt_target_1(), linux_nat_filter_event(), linux_nat_stop(), linux_nat_wait(), linux_nat_wait_1(), mi_cmd_exec_interrupt(), mi_on_normal_stop(), normal_stop(), notice_new_inferior(), prepare_execute_command(), proceed(), program_info(), putpkt_binary(), record_btrace_open(), record_btrace_wait(), record_full_open_1(), remote_async_get_pending_events_handler(), remote_notice_new_inferior(), remote_parse_stop_reply(), remote_resume(), remote_start_remote(), remote_stop(), remote_update_thread_list(), remote_vcont_resume(), remote_wait(), run_command_1(), select_event_lwp(), set_non_stop(), set_observer_mode(), show_can_use_displaced_stepping(), signal_command(), switch_back_to_stepped_thread(), target_stop_and_wait(), update_global_location_list(), update_observer_mode(), use_displaced_stepping(), and user_visible_resume_ptid().
|
static |
Definition at line 181 of file infrun.c.
Referenced by _initialize_infrun(), set_non_stop(), and set_observer_mode().
int observer_mode = 0 |
Definition at line 209 of file infrun.c.
Referenced by set_observer_mode(), and update_observer_mode().
|
static |
Definition at line 210 of file infrun.c.
Referenced by _initialize_infrun(), set_observer_mode(), and update_observer_mode().
int sched_multi = 0 |
Definition at line 1996 of file infrun.c.
Referenced by _initialize_infrun(), exec_continue(), find_thread_needs_step_over(), follow_fork_inferior(), switch_back_to_stepped_thread(), and user_visible_resume_ptid().
|
static |
Definition at line 1963 of file infrun.c.
Referenced by set_schedlock_func().
|
static |
Definition at line 1964 of file infrun.c.
Referenced by schedlock_applies(), and user_visible_resume_ptid().
|
static |
Definition at line 1965 of file infrun.c.
Referenced by schedlock_applies(), and user_visible_resume_ptid().
Definition at line 1966 of file infrun.c.
Referenced by _initialize_infrun().
|
static |
Definition at line 1972 of file infrun.c.
Referenced by _initialize_infrun(), schedlock_applies(), set_schedlock_func(), and user_visible_resume_ptid().
|
static |
|
static |
|
static |
Definition at line 290 of file infrun.c.
Referenced by _initialize_infrun(), signal_cache_update(), and signal_catch_update().
|
static |
Definition at line 295 of file infrun.c.
Referenced by _initialize_infrun(), do_target_resume(), handle_command(), signal_cache_update(), and signal_catch_update().
|
static |
Definition at line 283 of file infrun.c.
Referenced by _initialize_infrun(), handle_command(), handle_signal_stop(), sig_print_info(), signal_cache_update(), signal_print_state(), and signal_print_update().
|
static |
Definition at line 284 of file infrun.c.
Referenced by _initialize_infrun(), handle_command(), handle_signal_stop(), keep_going(), sig_print_info(), signal_cache_update(), signal_pass_state(), signal_pass_update(), switch_back_to_stepped_thread(), and update_signals_program_target().
|
static |
Definition at line 282 of file infrun.c.
Referenced by _initialize_infrun(), handle_command(), sig_print_info(), signal_cache_update(), signal_stop_state(), and signal_stop_update().
|
static |
int step_stop_if_no_debug = 0 |
Definition at line 107 of file infrun.c.
Referenced by _initialize_infrun(), process_event_stop_test(), and step_once().
int stop_after_trap |
Definition at line 354 of file infrun.c.
Referenced by clear_proceed_status(), do_initial_windows_stuff(), handle_signal_stop(), restore_infcall_control_state(), and save_infcall_control_state().
|
static |
int stop_on_solib_events |
Definition at line 332 of file infrun.c.
Referenced by _initialize_infrun(), handle_inferior_event_1(), internal_bkpt_check_status(), and svr4_update_solib_event_breakpoint().
|
static |
Definition at line 358 of file infrun.c.
Referenced by handle_inferior_event_1(), handle_signal_stop(), normal_stop(), and process_event_stop_test().
int sync_execution = 0 |
Definition at line 117 of file infrun.c.
Referenced by async_background_execution_p(), async_disable_stdin(), async_enable_stdin(), catch_command_errors(), catch_command_errors_const(), continue_1(), display_gdb_prompt(), execute_command(), fetch_inferior_event(), follow_fork_inferior(), handle_inferior_event_1(), maybe_wait_sync_command_done(), mi_execute_command_input_handler(), mi_interpreter_resume(), mi_on_resume(), normal_stop(), reinstall_readline_callback_handler_cleanup(), run_inferior_call(), and target_terminal_inferior().
|
static |
Definition at line 363 of file infrun.c.
Referenced by get_last_target_status().
|
static |
Definition at line 364 of file infrun.c.
Referenced by get_last_target_status(), and set_last_target_status().