|
GDB (xrefs)
|
#include "defs.h"#include "arch-utils.h"#include <signal.h>#include "symtab.h"#include "gdbtypes.h"#include "frame.h"#include "inferior.h"#include "infrun.h"#include "environ.h"#include "value.h"#include "gdbcmd.h"#include "symfile.h"#include "gdbcore.h"#include "target.h"#include "language.h"#include "objfiles.h"#include "completer.h"#include "ui-out.h"#include "event-top.h"#include "parser-defs.h"#include "regcache.h"#include "reggroups.h"#include "block.h"#include "solib.h"#include <ctype.h>#include "observer.h"#include "target-descriptions.h"#include "user-regs.h"#include "cli/cli-decode.h"#include "gdbthread.h"#include "valprint.h"#include "inline-frame.h"#include "tracepoint.h"#include "inf-loop.h"#include "continuations.h"#include "linespec.h"#include "cli/cli-utils.h"#include "infcall.h"#include "thread-fsm.h"#include "top.h"#include "interps.h"#include "common/gdb_optional.h"Go to the source code of this file.
Classes | |
| struct | step_command_fsm |
| struct | until_next_fsm |
| struct | return_value_info |
| struct | finish_command_fsm |
| struct | attach_command_continuation_args |
Macros | |
| #define | ERROR_NO_INFERIOR if (!target_has_execution) error (_("The program is not being run.")); |
| #define | RUN_ARGS_HELP "You may specify arguments to give it.\n\Args may include \"*\", or \"[...]\"; they are expanded using the\n\shell that will start the program (specified by the \"$SHELL\" environment\n\variable). Input and output redirection with \">\", \"<\", or \">>\"\n\are also allowed.\n\\n\With no arguments, uses arguments last specified (with \"run\" or \n\\"set args\"). To cancel previous arguments and run with no arguments,\n\use \"set args\" without arguments.\n\\n\To start the inferior without using a shell, use \"set startup-with-shell off\"." |
Enumerations | |
| enum | run_how { RUN_NORMAL, RUN_STOP_AT_MAIN, RUN_STOP_AT_FIRST_INSN } |
| enum | attach_post_wait_mode { ATTACH_POST_WAIT_NOTHING, ATTACH_POST_WAIT_RESUME, ATTACH_POST_WAIT_STOP } |
Functions | |
| static void | until_next_command (int) |
| static void | step_1 (int, int, const char *) |
| void | set_inferior_io_terminal (const char *terminal_name) |
| const char * | get_inferior_io_terminal (void) |
| static void | set_inferior_tty_command (const char *args, int from_tty, struct cmd_list_element *c) |
| static void | show_inferior_tty_command (struct ui_file *file, int from_tty, struct cmd_list_element *c, const char *value) |
| char * | get_inferior_args (void) |
| void | set_inferior_args (const char *newargs) |
| void | set_inferior_args_vector (int argc, char **argv) |
| static void | set_args_command (const char *args, int from_tty, struct cmd_list_element *c) |
| static void | show_args_command (struct ui_file *file, int from_tty, struct cmd_list_element *c, const char *value) |
| void | set_inferior_cwd (const char *cwd) |
| const char * | get_inferior_cwd () |
| static void | set_cwd_command (const char *args, int from_tty, struct cmd_list_element *c) |
| static void | show_cwd_command (struct ui_file *file, int from_tty, struct cmd_list_element *c, const char *value) |
| char * | construct_inferior_arguments (int argc, char **argv) |
| static gdb::unique_xmalloc_ptr< char > | strip_bg_char (const char *args, int *bg_char_p) |
| void | post_create_inferior (struct target_ops *target, int from_tty) |
| static void | kill_if_already_running (int from_tty) |
| void | prepare_execution_command (struct target_ops *target, int background) |
| static void | run_command_1 (const char *args, int from_tty, enum run_how run_how) |
| static void | run_command (const char *args, int from_tty) |
| static void | start_command (const char *args, int from_tty) |
| static void | starti_command (const char *args, int from_tty) |
| static int | proceed_thread_callback (struct thread_info *thread, void *arg) |
| static void | ensure_valid_thread (void) |
| static void | ensure_not_tfind_mode (void) |
| static void | error_is_running (void) |
| static void | ensure_not_running (void) |
| void | continue_1 (int all_threads) |
| static void | continue_command (const char *args, int from_tty) |
| static void | set_step_frame (void) |
| static void | step_command (const char *count_string, int from_tty) |
| static void | next_command (const char *count_string, int from_tty) |
| static void | stepi_command (const char *count_string, int from_tty) |
| static void | nexti_command (const char *count_string, int from_tty) |
| void | delete_longjmp_breakpoint_cleanup (void *arg) |
| static void | step_command_fsm_clean_up (struct thread_fsm *self, struct thread_info *thread) |
| static int | step_command_fsm_should_stop (struct thread_fsm *self, struct thread_info *thread) |
| static enum async_reply_reason | step_command_fsm_async_reply_reason (struct thread_fsm *self) |
| static struct step_command_fsm * | new_step_command_fsm (struct interp *cmd_interp) |
| static void | step_command_fsm_prepare (struct step_command_fsm *sm, int skip_subroutines, int single_inst, int count, struct thread_info *thread) |
| static int | prepare_one_step (struct step_command_fsm *sm) |
| static void | jump_command (const char *arg, int from_tty) |
| static void | signal_command (const char *signum_exp, int from_tty) |
| static void | queue_signal_command (const char *signum_exp, int from_tty) |
| static int | until_next_fsm_should_stop (struct thread_fsm *self, struct thread_info *thread) |
| static void | until_next_fsm_clean_up (struct thread_fsm *self, struct thread_info *thread) |
| static enum async_reply_reason | until_next_fsm_async_reply_reason (struct thread_fsm *self) |
| static struct until_next_fsm * | new_until_next_fsm (struct interp *cmd_interp, int thread) |
| static void | until_command (const char *arg, int from_tty) |
| static void | advance_command (const char *arg, int from_tty) |
| struct value * | get_return_value (struct value *function, struct type *value_type) |
| static void | print_return_value_1 (struct ui_out *uiout, struct return_value_info *rv) |
| void | print_return_value (struct ui_out *uiout, struct return_value_info *rv) |
| static int | finish_command_fsm_should_stop (struct thread_fsm *self, struct thread_info *thread) |
| static void | finish_command_fsm_clean_up (struct thread_fsm *self, struct thread_info *thread) |
| static struct return_value_info * | finish_command_fsm_return_value (struct thread_fsm *self) |
| static enum async_reply_reason | finish_command_fsm_async_reply_reason (struct thread_fsm *self) |
| static struct finish_command_fsm * | new_finish_command_fsm (struct interp *cmd_interp) |
| static void | finish_backward (struct finish_command_fsm *sm) |
| static void | finish_forward (struct finish_command_fsm *sm, struct frame_info *frame) |
| static struct frame_info * | skip_finish_frames (struct frame_info *frame) |
| static void | finish_command (const char *arg, int from_tty) |
| static void | info_program_command (const char *args, int from_tty) |
| static void | environment_info (const char *var, int from_tty) |
| static void | set_environment_command (const char *arg, int from_tty) |
| static void | unset_environment_command (const char *var, int from_tty) |
| static void | path_info (const char *args, int from_tty) |
| static void | path_command (const char *dirname, int from_tty) |
| static void | default_print_one_register_info (struct ui_file *file, const char *name, struct value *val) |
| void | default_print_registers_info (struct gdbarch *gdbarch, struct ui_file *file, struct frame_info *frame, int regnum, int print_all) |
| void | registers_info (const char *addr_exp, int fpregs) |
| static void | info_all_registers_command (const char *addr_exp, int from_tty) |
| static void | info_registers_command (const char *addr_exp, int from_tty) |
| static void | print_vector_info (struct ui_file *file, struct frame_info *frame, const char *args) |
| static void | info_vector_command (const char *args, int from_tty) |
| static void | kill_command (const char *arg, int from_tty) |
| static int | proceed_after_attach_callback (struct thread_info *thread, void *arg) |
| static void | proceed_after_attach (int pid) |
| void | setup_inferior (int from_tty) |
| static void | attach_post_wait (const char *args, int from_tty, enum attach_post_wait_mode mode) |
| static void | attach_command_continuation (void *args, int err) |
| static void | attach_command_continuation_free_args (void *args) |
| void | attach_command (const char *args, int from_tty) |
| void | notice_new_inferior (ptid_t ptid, int leave_running, int from_tty) |
| void | detach_command (const char *args, int from_tty) |
| static void | disconnect_command (const char *args, int from_tty) |
| void | interrupt_target_1 (int all_threads) |
| static void | interrupt_command (const char *args, int from_tty) |
| void | default_print_float_info (struct gdbarch *gdbarch, struct ui_file *file, struct frame_info *frame, const char *args) |
| static void | info_float_command (const char *args, int from_tty) |
| static void | unset_command (const char *args, int from_tty) |
| static void | info_proc_cmd_1 (const char *args, enum info_proc_what what, int from_tty) |
| static void | info_proc_cmd (const char *args, int from_tty) |
| static void | info_proc_cmd_mappings (const char *args, int from_tty) |
| static void | info_proc_cmd_stat (const char *args, int from_tty) |
| static void | info_proc_cmd_status (const char *args, int from_tty) |
| static void | info_proc_cmd_cwd (const char *args, int from_tty) |
| static void | info_proc_cmd_cmdline (const char *args, int from_tty) |
| static void | info_proc_cmd_exe (const char *args, int from_tty) |
| static void | info_proc_cmd_all (const char *args, int from_tty) |
| void | _initialize_infcmd (void) |
Variables | |
| static char * | inferior_args_scratch |
| static char * | inferior_cwd_scratch |
| static char * | inferior_io_terminal_scratch |
| ptid_t | inferior_ptid |
| CORE_ADDR | stop_pc |
| enum stop_stack_kind | stop_stack_dummy |
| int | stopped_by_random_signal |
| int | startup_with_shell = 1 |
| static struct thread_fsm_ops | step_command_fsm_ops |
| static struct thread_fsm_ops | until_next_fsm_ops |
| static struct thread_fsm_ops | finish_command_fsm_ops |
| static const char | path_var_name [] = "PATH" |
| #define ERROR_NO_INFERIOR if (!target_has_execution) error (_("The program is not being run.")); |
Definition at line 69 of file infcmd.c.
Referenced by advance_command(), continue_1(), continue_command(), finish_command(), jump_command(), queue_signal_command(), signal_command(), step_1(), and until_command().
| #define RUN_ARGS_HELP "You may specify arguments to give it.\n\Args may include \"*\", or \"[...]\"; they are expanded using the\n\shell that will start the program (specified by the \"$SHELL\" environment\n\variable). Input and output redirection with \">\", \"<\", or \">>\"\n\are also allowed.\n\\n\With no arguments, uses arguments last specified (with \"run\" or \n\\"set args\"). To cancel previous arguments and run with no arguments,\n\use \"set args\" without arguments.\n\\n\To start the inferior without using a shell, use \"set startup-with-shell off\"." |
Definition at line 3202 of file infcmd.c.
Referenced by _initialize_infcmd().
| enum run_how |
| void _initialize_infcmd | ( | void | ) |
Definition at line 3216 of file infcmd.c.
References _, add_alias_cmd(), add_cmd(), add_com(), add_com_alias(), add_info(), add_info_alias(), add_prefix_cmd(), add_setshow_optional_filename_cmd(), add_setshow_string_noescape_cmd(), advance_command(), attach_command(), class_alias, class_files, class_info, class_run, cmdlist, continue_command(), detach_command(), detachlist, disconnect_command(), environment_info(), filename_completer(), finish_command(), gdb_assert, inferior_args_scratch, inferior_cwd_scratch, inferior_io_terminal_scratch, info_all_registers_command(), info_float_command(), info_proc_cmd(), info_proc_cmd_all(), info_proc_cmd_cmdline(), info_proc_cmd_cwd(), info_proc_cmd_exe(), info_proc_cmd_mappings(), info_proc_cmd_stat(), info_proc_cmd_status(), info_program_command(), info_registers_command(), info_vector_command(), infolist, interrupt_command(), jump_command(), kill_command(), killlist, location_completer(), lookup_cmd(), next_command(), nexti_command(), no_class, noop_completer(), path_command(), path_info(), queue_signal_command(), reg_or_group_completer(), RUN_ARGS_HELP, run_command(), set_args_command(), set_cmd_completer(), set_cwd_command(), set_environment_command(), set_inferior_tty_command(), setlist, show_args_command(), show_cwd_command(), show_inferior_tty_command(), showlist, signal_command(), signal_completer(), start_command(), starti_command(), step_command(), stepi_command(), unset_command(), unset_environment_command(), unsetlist, and until_command().
|
static |
Definition at line 1599 of file infcmd.c.
References _, current_target, ensure_not_running(), ensure_not_tfind_mode(), ensure_valid_thread(), error_no_arg(), ERROR_NO_INFERIOR, prepare_execution_command(), strip_bg_char(), and until_break_command().
Referenced by _initialize_infcmd().
| void attach_command | ( | const char * | args, |
| int | from_tty | ||
| ) |
Definition at line 2791 of file infcmd.c.
References _, add_inferior_continuation(), inferior::args, attach_command_continuation_args::args, attach_command_continuation(), attach_command_continuation_free_args(), attach_post_wait(), ATTACH_POST_WAIT_RESUME, ATTACH_POST_WAIT_STOP, clear_proceed_status(), inferior::control, current_inferior(), dont_repeat(), error(), find_attach_target(), attach_command_continuation_args::from_tty, gdbarch_has_global_solist(), target_terminal::inferior(), inferior_ptid, target_terminal::init(), init_wait_for_inferior(), mark_infrun_async_event_handler(), attach_command_continuation_args::mode, inferior::needs_setup, non_stop, pid_to_ptid(), prepare_execution_command(), ptid_get_pid(), query(), STOP_QUIETLY_NO_SIGSTOP, inferior_control_state::stop_soon, strip_bg_char(), target_attach_no_wait, target_gdbarch(), target_has_execution, target_is_async_p, target_is_non_stop_p(), target_kill(), target_pre_inferior(), target_stop(), target_ops::to_attach, target_ops::to_supports_non_stop, and XNEW.
Referenced by _initialize_infcmd(), and captured_main_1().
|
static |
Definition at line 2765 of file infcmd.c.
References attach_command_continuation_args::args, attach_post_wait(), err, attach_command_continuation_args::from_tty, and attach_command_continuation_args::mode.
Referenced by attach_command(), and notice_new_inferior().
|
static |
Definition at line 2777 of file infcmd.c.
References attach_command_continuation_args::args, and xfree().
Referenced by attach_command(), and notice_new_inferior().
|
static |
Definition at line 2681 of file infcmd.c.
References ALL_NON_EXITED_THREADS, ATTACH_POST_WAIT_RESUME, ATTACH_POST_WAIT_STOP, clear_proceed_status(), inferior::control, current_inferior(), deprecated_attach_hook, thread_info::inf, inferior::inferior(), inferior_thread(), inferior::needs_setup, NO_STOP_QUIETLY, non_stop, normal_stop(), inferior::num, thread_info::per_inf_num, inferior::pid, pid, pid_to_ptid(), proceed(), proceed_after_attach(), thread_info::ptid, ptid_get_pid(), setup_inferior(), stop_all_threads(), inferior_control_state::stop_soon, switch_to_thread(), target_is_non_stop_p(), and target_stop().
Referenced by attach_command(), attach_command_continuation(), and notice_new_inferior().
| char* construct_inferior_arguments | ( | int | argc, |
| char ** | argv | ||
| ) |
Definition at line 278 of file infcmd.c.
References _, inferior::argc, gdb::argv, error(), startup_with_shell, and xmalloc().
Referenced by get_inferior_args().
| void continue_1 | ( | int | all_threads | ) |
Definition at line 775 of file infcmd.c.
References clear_proceed_status(), current_ui, ensure_not_running(), ensure_not_tfind_mode(), ensure_valid_thread(), ERROR_NO_INFERIOR, target_terminal::inferior(), iterate_over_threads(), non_stop, proceed(), proceed_thread_callback(), PROMPT_BLOCKED, and ui::prompt_state.
Referenced by continue_command(), and exec_continue().
|
static |
Definition at line 821 of file infcmd.c.
References _, bpstat_num(), continue_1(), thread_info::control, current_target, ensure_not_running(), ensure_not_tfind_mode(), ensure_valid_thread(), error(), ERROR_NO_INFERIOR, find_thread_ptid(), get_last_target_status(), inferior_ptid, non_stop, parse_and_eval_long(), prepare_execution_command(), printf_filtered(), set_ignore_count(), startswith(), thread_control_state::stop_bpstat, and strip_bg_char().
Referenced by _initialize_infcmd().
| void default_print_float_info | ( | struct gdbarch * | gdbarch, |
| struct ui_file * | file, | ||
| struct frame_info * | frame, | ||
| const char * | args | ||
| ) |
Definition at line 3077 of file infcmd.c.
References float_reggroup, fprintf_filtered(), gdbarch_num_pseudo_regs(), gdbarch_num_regs(), gdbarch_print_registers_info(), gdbarch_register_reggroup_p(), and regnum.
Referenced by gdbarch_alloc(), and mips_print_float_info().
|
static |
Definition at line 2290 of file infcmd.c.
References current_language, value_print_options::deref_ref, fprintf_filtered(), fputs_filtered(), gdbarch_byte_order(), get_formatted_print_options(), get_type_arch(), get_user_print_options(), name, print_hex_chars(), print_spaces_filtered(), TYPE_CODE, TYPE_CODE_DECFLOAT, TYPE_CODE_FLT, TYPE_LENGTH, TYPE_VECTOR, val_print(), value_contents_for_printing(), value_embedded_offset(), value_entirely_available(), value_optimized_out(), and value_type().
Referenced by default_print_registers_info(), and registers_info().
| void default_print_registers_info | ( | struct gdbarch * | gdbarch, |
| struct ui_file * | file, | ||
| struct frame_info * | frame, | ||
| int | regnum, | ||
| int | print_all | ||
| ) |
Definition at line 2365 of file infcmd.c.
References all_reggroup, default_print_one_register_info(), gdbarch_num_pseudo_regs(), gdbarch_num_regs(), gdbarch_register_name(), gdbarch_register_reggroup_p(), general_reggroup, regnum, and value_of_register().
Referenced by gdbarch_alloc(), and mt_registers_info().
| void delete_longjmp_breakpoint_cleanup | ( | void * | arg | ) |
Definition at line 955 of file infcmd.c.
References delete_longjmp_breakpoint().
Referenced by until_break_command(), and until_next_command().
| void detach_command | ( | const char * | args, |
| int | from_tty | ||
| ) |
Definition at line 2968 of file infcmd.c.
References _, inferior::args, breakpoint_init_inferior(), deprecated_detach_hook, disconnect_tracing(), dont_repeat(), error(), gdbarch_has_global_solist(), have_inferiors(), inf_exited, inferior_ptid, init_thread_list(), no_shared_libraries(), null_ptid, ptid_equal(), query_if_trace_running(), target_detach(), and target_gdbarch().
Referenced by _initialize_infcmd(), detach_inferior_command(), and mi_cmd_target_detach().
|
static |
Definition at line 3011 of file infcmd.c.
References inferior::args, deprecated_detach_hook, disconnect_tracing(), dont_repeat(), init_thread_list(), no_shared_libraries(), query_if_trace_running(), and target_disconnect().
Referenced by _initialize_infcmd().
|
static |
Definition at line 768 of file infcmd.c.
References error_is_running(), inferior_ptid, and is_running().
Referenced by advance_command(), continue_1(), continue_command(), finish_command(), jump_command(), queue_signal_command(), signal_command(), step_1(), and until_command().
|
static |
Definition at line 750 of file infcmd.c.
References _, error(), and get_traceframe_number().
Referenced by advance_command(), continue_1(), continue_command(), finish_command(), jump_command(), queue_signal_command(), signal_command(), step_1(), and until_command().
|
static |
Definition at line 738 of file infcmd.c.
References _, error(), inferior_ptid, is_exited(), null_ptid, and ptid_equal().
Referenced by advance_command(), continue_1(), continue_command(), finish_command(), jump_command(), queue_signal_command(), signal_command(), step_1(), and until_command().
|
static |
Definition at line 2144 of file infcmd.c.
References current_inferior(), inferior::environment, gdb_environ::envp(), gdb_environ::get(), and puts_filtered().
Referenced by _initialize_infcmd().
|
static |
Definition at line 759 of file infcmd.c.
Referenced by ensure_not_running().
|
static |
Definition at line 1874 of file infcmd.c.
References _, thread_info::control, error(), find_pc_line(), find_pc_partial_function(), get_current_frame(), get_frame_arch(), get_frame_pc(), get_frame_program_space(), get_selected_frame(), inferior_thread(), insert_step_resume_breakpoint_at_sal(), null_frame_id, symtab_and_line::pc, proceed(), thread_control_state::proceed_to_finish, symtab_and_line::pspace, thread_control_state::step_range_end, and thread_control_state::step_range_start.
Referenced by finish_command().
|
static |
Definition at line 1979 of file infcmd.c.
References _, clear_proceed_status(), command_interp(), thread_info::control, current_target, ensure_not_running(), ensure_not_tfind_mode(), ensure_valid_thread(), error(), ERROR_NO_INFERIOR, EXEC_REVERSE, execution_direction, find_pc_function(), finish_backward(), finish_forward(), finish_command_fsm::function, get_frame_pc(), get_frame_type(), get_prev_frame(), get_selected_frame(), inferior_thread(), INLINE_FRAME, LOCATION, new_finish_command_fsm(), prepare_execution_command(), print_stack_frame(), printf_filtered(), proceed(), query(), set_step_info(), skip_finish_frames(), STEP_OVER_ALL, thread_control_state::step_over_calls, thread_control_state::step_range_end, thread_control_state::step_range_start, strip_bg_char(), SYMBOL_PRINT_NAME, thread_info::thread_fsm, finish_command_fsm::thread_fsm, symbol::type, and TYPE_NO_RETURN.
Referenced by _initialize_infcmd().
|
static |
Definition at line 1863 of file infcmd.c.
References EXEC_ASYNC_END_STEPPING_RANGE, EXEC_ASYNC_FUNCTION_FINISHED, EXEC_REVERSE, and execution_direction.
|
static |
Definition at line 1835 of file infcmd.c.
References finish_command_fsm::breakpoint, delete_breakpoint(), delete_longjmp_breakpoint(), and thread_info::global_num.
|
static |
Definition at line 1852 of file infcmd.c.
References finish_command_fsm::return_value.
|
static |
Definition at line 1793 of file infcmd.c.
References _, bpstat_find_breakpoint(), finish_command_fsm::breakpoint, thread_info::control, func, finish_command_fsm::function, get_current_frame(), get_return_value(), internal_error(), read_var_value(), record_latest_value(), finish_command_fsm::return_value, thread_control_state::stop_bpstat, thread_control_state::stop_step, SYMBOL_TYPE, thread_fsm_set_finished(), return_value_info::type, TYPE_CODE, TYPE_CODE_VOID, TYPE_TARGET_TYPE, return_value_info::value, and return_value_info::value_history_index.
|
static |
Definition at line 1926 of file infcmd.c.
References bp_finish, finish_command_fsm::breakpoint, thread_info::control, find_pc_line(), get_frame_arch(), get_frame_id(), get_frame_pc(), get_stack_frame_id(), inferior_thread(), symtab_and_line::pc, proceed(), thread_control_state::proceed_to_finish, set_longjmp_breakpoint(), and set_momentary_breakpoint().
Referenced by finish_command().
| char* get_inferior_args | ( | void | ) |
Definition at line 161 of file infcmd.c.
References inferior::args, gdb::argv, construct_inferior_arguments(), current_inferior(), set_inferior_args(), and xfree().
Referenced by fbsd_make_corefile_notes(), linux_fill_prpsinfo(), procfs_make_note_section(), run_command_1(), and show_args_command().
| const char* get_inferior_cwd | ( | ) |
Definition at line 237 of file infcmd.c.
References current_inferior(), and inferior::cwd.
Referenced by extended_remote_set_inferior_cwd(), fork_inferior(), show_cwd_command(), and windows_create_inferior().
| const char* get_inferior_io_terminal | ( | void | ) |
Definition at line 131 of file infcmd.c.
References current_inferior(), and inferior::terminal.
Referenced by mi_cmd_inferior_tty_show(), prefork_hook(), procfs_create_inferior(), show_inferior_tty_command(), and windows_create_inferior().
Definition at line 1625 of file infcmd.c.
References _, allocate_value(), regcache::arch(), check_typedef(), gdb_assert, gdbarch_return_value(), get_current_regcache(), internal_error(), regcache::readonly, RETURN_VALUE_ABI_PRESERVES_ADDRESS, RETURN_VALUE_ABI_RETURNS_ADDRESS, RETURN_VALUE_REGISTER_CONVENTION, RETURN_VALUE_STRUCT_CONVENTION, TYPE_CODE, TYPE_CODE_VOID, value_contents_raw(), and value_type().
Referenced by bpfinishpy_pre_stop_hook(), and finish_command_fsm_should_stop().
|
static |
Definition at line 2518 of file infcmd.c.
References registers_info().
Referenced by _initialize_infcmd().
|
static |
Definition at line 3100 of file infcmd.c.
References _, error(), gdb_stdout, gdbarch_print_float_info(), get_frame_arch(), get_selected_frame(), and target_has_registers.
Referenced by _initialize_infcmd().
|
static |
Definition at line 3138 of file infcmd.c.
References info_proc_cmd_1(), and IP_MINIMAL.
Referenced by _initialize_infcmd().
|
static |
Definition at line 3122 of file infcmd.c.
References _, error(), gdbarch_info_proc(), gdbarch_info_proc_p(), get_current_arch(), and target_info_proc().
Referenced by info_proc_cmd(), info_proc_cmd_all(), info_proc_cmd_cmdline(), info_proc_cmd_cwd(), info_proc_cmd_exe(), info_proc_cmd_mappings(), info_proc_cmd_stat(), and info_proc_cmd_status().
|
static |
Definition at line 3194 of file infcmd.c.
References info_proc_cmd_1(), and IP_ALL.
Referenced by _initialize_infcmd().
|
static |
Definition at line 3178 of file infcmd.c.
References info_proc_cmd_1(), and IP_CMDLINE.
Referenced by _initialize_infcmd().
|
static |
Definition at line 3170 of file infcmd.c.
References info_proc_cmd_1(), and IP_CWD.
Referenced by _initialize_infcmd().
|
static |
Definition at line 3186 of file infcmd.c.
References info_proc_cmd_1(), and IP_EXE.
Referenced by _initialize_infcmd().
|
static |
Definition at line 3146 of file infcmd.c.
References info_proc_cmd_1(), and IP_MAPPINGS.
Referenced by _initialize_infcmd().
|
static |
Definition at line 3154 of file infcmd.c.
References info_proc_cmd_1(), and IP_STAT.
Referenced by _initialize_infcmd().
|
static |
Definition at line 3162 of file infcmd.c.
References info_proc_cmd_1(), and IP_STATUS.
Referenced by _initialize_infcmd().
|
static |
Definition at line 2077 of file infcmd.c.
References _, bpstat_num(), thread_info::control, error(), find_thread_ptid(), gdb_signal_to_name(), gdb_signal_to_string(), get_last_target_status(), inferior_ptid, is_exited(), is_running(), non_stop, null_ptid, paddress(), printf_filtered(), thread_info::ptid, ptid_equal(), thread_control_state::stop_bpstat, stop_pc, thread_suspend_state::stop_signal, thread_control_state::stop_step, thread_info::suspend, target_files_info, target_gdbarch(), and target_has_execution.
Referenced by _initialize_infcmd().
|
static |
Definition at line 2524 of file infcmd.c.
References registers_info().
Referenced by _initialize_infcmd().
|
static |
Definition at line 2559 of file infcmd.c.
References _, error(), gdb_stdout, get_selected_frame(), print_vector_info(), and target_has_registers.
Referenced by _initialize_infcmd().
|
static |
Definition at line 3055 of file infcmd.c.
References _, inferior::args, dont_repeat(), error(), interrupt_target_1(), non_stop, startswith(), and target_can_async_p.
Referenced by _initialize_infcmd().
| void interrupt_target_1 | ( | int | all_threads | ) |
Definition at line 3024 of file infcmd.c.
References inferior_ptid, minus_one_ptid, non_stop, set_stop_requested(), target_interrupt(), and target_stop().
Referenced by interrupt_command(), and mi_cmd_exec_interrupt().
|
static |
Definition at line 1220 of file infcmd.c.
References _, clear_proceed_status(), current_target, DECODE_LINE_FUNFIRSTLINE, decode_line_with_last_displayed(), ensure_not_running(), ensure_not_tfind_mode(), ensure_valid_thread(), error(), error_no_arg(), ERROR_NO_INFERIOR, find_pc_function(), fixup_symbol_section(), fputs_filtered(), gdb_stdout, get_current_arch(), get_current_frame(), get_frame_function(), symtab_and_line::line, paddress(), symtab_and_line::pc, prepare_execution_command(), printf_filtered(), proceed(), query(), resolve_sal_pc(), section_is_mapped(), section_is_overlay(), strip_bg_char(), SYMBOL_OBJ_SECTION, symbol_objfile(), SYMBOL_PRINT_NAME, and symtab_and_line::symtab.
Referenced by _initialize_infcmd().
|
static |
Definition at line 2570 of file infcmd.c.
References _, error(), get_selected_frame(), have_inferiors(), inferior_ptid, init_thread_list(), null_ptid, print_stack_frame(), printf_filtered(), ptid_equal(), query(), SRC_AND_LOC, target_has_stack, target_kill(), and target_longname.
Referenced by _initialize_infcmd().
|
static |
Definition at line 510 of file infcmd.c.
References _, error(), inferior_ptid, null_ptid, ptid_equal(), query(), target_has_execution, target_kill(), and target_require_runnable().
Referenced by run_command_1().
|
static |
Definition at line 1777 of file infcmd.c.
References finish_command_fsm_ops, finish_command_fsm::thread_fsm, thread_fsm_ctor(), and XCNEW.
Referenced by finish_command().
|
static |
Definition at line 1000 of file infcmd.c.
References step_command_fsm_ops, step_command_fsm::thread_fsm, thread_fsm_ctor(), and XCNEW.
Referenced by step_1().
|
static |
Definition at line 1468 of file infcmd.c.
References until_next_fsm::thread, until_next_fsm::thread_fsm, thread_fsm_ctor(), until_next_fsm_ops, and XCNEW.
Referenced by until_next_command().
|
static |
|
static |
| void notice_new_inferior | ( | ptid_t | ptid, |
| int | leave_running, | ||
| int | from_tty | ||
| ) |
Definition at line 2913 of file infcmd.c.
References add_inferior_continuation(), attach_command_continuation_args::args, attach_command_continuation(), attach_command_continuation_free_args(), attach_post_wait(), ATTACH_POST_WAIT_NOTHING, ATTACH_POST_WAIT_RESUME, inferior::control, current_inferior(), gdb::optional< T >::emplace(), find_thread_ptid(), attach_command_continuation_args::from_tty, inferior_ptid, is_executing(), attach_command_continuation_args::mode, null_ptid, STOP_QUIETLY_REMOTE, inferior_control_state::stop_soon, switch_to_thread_no_regs(), target_stop(), and XNEW.
Referenced by process_initial_stop_replies(), and remote_notice_new_inferior().
|
static |
Definition at line 2267 of file infcmd.c.
References current_inferior(), dont_repeat(), inferior::environment, gdb_environ::get(), mod_path(), path_info(), path_var_name, gdb_environ::set(), and xfree().
Referenced by _initialize_infcmd().
|
static |
Definition at line 2257 of file infcmd.c.
References current_inferior(), path_var_name, and puts_filtered().
Referenced by _initialize_infcmd(), and path_command().
| void post_create_inferior | ( | struct target_ops * | target, |
| int | from_tty | ||
| ) |
Definition at line 435 of file infcmd.c.
References _, auto_solib_add, breakpoint_re_set(), CATCH, current_program_space, END_CATCH, exec_bfd, gdbarch_has_global_solist(), get_current_regcache(), info_verbose, NOT_AVAILABLE_ERROR, observer_notify_inferior_created(), target_terminal::ours_for_output(), regcache_read_pc(), RETURN_MASK_ERROR, solib_add(), program_space::solib_add_generation, solib_create_inferior_hook(), stop_pc, target_find_description(), target_gdbarch(), throw_exception(), TRY, and warning().
Referenced by core_open(), run_command_1(), setup_inferior(), start_remote(), and tfile_open().
| void prepare_execution_command | ( | struct target_ops * | target, |
| int | background | ||
| ) |
Definition at line 529 of file infcmd.c.
References _, all_uis_on_sync_execution_starting(), error(), and target_ops::to_can_async_p.
Referenced by advance_command(), attach_command(), continue_command(), exec_continue(), finish_command(), jump_command(), run_command_1(), signal_command(), step_1(), and until_command().
|
static |
Definition at line 1133 of file infcmd.c.
References _, thread_info::control, step_command_fsm::count, error(), find_pc_line_pc_range(), find_pc_partial_function(), get_current_frame(), get_frame_pc(), inferior_ptid, inferior_thread(), inline_skipped_frames(), thread_control_state::may_range_step, name, target_terminal::ours_for_output(), printf_filtered(), set_running(), set_step_frame(), step_command_fsm::single_inst, step_command_fsm::skip_subroutines, step_into_inline_frame(), STEP_OVER_ALL, thread_control_state::step_over_calls, STEP_OVER_NONE, thread_control_state::step_range_end, thread_control_state::step_range_start, step_stop_if_no_debug, step_command_fsm::thread_fsm, thread_fsm_set_finished(), and user_visible_resume_ptid().
Referenced by step_1(), and step_command_fsm_should_stop().
| void print_return_value | ( | struct ui_out * | uiout, |
| struct return_value_info * | rv | ||
| ) |
Definition at line 1715 of file infcmd.c.
References CATCH, END_CATCH, exception_print(), gdb_stdout, print_return_value_1(), RETURN_MASK_ALL, TRY, return_value_info::type, TYPE_CODE, and TYPE_CODE_VOID.
Referenced by print_stop_event().
|
static |
Definition at line 1681 of file infcmd.c.
References ui_out::field_fmt(), ui_out::field_stream(), ui_out::field_string(), get_no_prettyformat_print_options(), string, ui_out::text(), return_value_info::type, type_to_string(), return_value_info::value, return_value_info::value_history_index, and value_print().
Referenced by print_return_value().
|
static |
Definition at line 2530 of file infcmd.c.
References fprintf_filtered(), gdbarch_num_pseudo_regs(), gdbarch_num_regs(), gdbarch_print_registers_info(), gdbarch_print_vector_info(), gdbarch_print_vector_info_p(), gdbarch_register_reggroup_p(), get_frame_arch(), regnum, and vector_reggroup.
Referenced by info_vector_command(), and set_gdbarch_print_vector_info().
|
static |
Definition at line 2626 of file infcmd.c.
References iterate_over_threads(), pid, and proceed_after_attach_callback().
Referenced by attach_post_wait().
|
static |
Definition at line 2606 of file infcmd.c.
References clear_proceed_status(), is_executing(), is_exited(), pid, proceed(), thread_info::ptid, ptid_get_pid(), thread_info::stop_requested, thread_suspend_state::stop_signal, thread_info::suspend, and switch_to_thread().
Referenced by proceed_after_attach().
|
static |
Definition at line 717 of file infcmd.c.
References clear_proceed_status(), is_stopped(), proceed(), thread_info::ptid, and switch_to_thread().
Referenced by continue_1().
|
static |
Definition at line 1398 of file infcmd.c.
References _, ensure_not_running(), ensure_not_tfind_mode(), ensure_valid_thread(), error(), error_no_arg(), ERROR_NO_INFERIOR, gdb_signal_from_command(), gdb_signal_from_name(), inferior_thread(), parse_and_eval_long(), signal_pass_state(), thread_suspend_state::stop_signal, and thread_info::suspend.
Referenced by _initialize_infcmd().
| void registers_info | ( | const char * | addr_exp, |
| int | fpregs | ||
| ) |
Definition at line 2410 of file infcmd.c.
References _, default_print_one_register_info(), error(), gdb_stdout, gdbarch_num_pseudo_regs(), gdbarch_num_regs(), gdbarch_print_registers_info(), gdbarch_register_reggroup_p(), get_frame_arch(), get_selected_frame(), reggroup_name(), reggroup_next(), regnum, skip_spaces(), target_has_registers, user_reg_map_name_to_regnum(), user_reg_map_regnum_to_name(), and value_of_user_reg().
Referenced by info_all_registers_command(), info_registers_command(), and trace_dump_actions().
|
static |
Definition at line 686 of file infcmd.c.
References run_command_1(), and RUN_NORMAL.
Referenced by _initialize_infcmd().
|
static |
Definition at line 564 of file infcmd.c.
References _, clear_breakpoint_hit_counts(), current_inferior(), current_target, current_uiout, discard_cleanups(), dont_repeat(), error(), ui_out::field_string(), find_run_target(), finish_thread_state_cleanup(), ui_out::flush(), get_current_regcache(), get_exec_file(), get_inferior_args(), inferior_ptid, inferior_thread(), init_wait_for_inferior(), kill_if_already_running(), target_waitstatus::kind, main_name(), make_cleanup(), minus_one_ptid, non_stop, pid_to_ptid(), post_create_inferior(), prepare_execution_command(), proceed(), ptid_get_pid(), regcache_read_pc(), reopen_exec_file(), reread_symbols(), RUN_STOP_AT_FIRST_INSN, RUN_STOP_AT_MAIN, set_inferior_args(), target_waitstatus::sig, ui_out::spaces(), string, strip_bg_char(), thread_info::suspend, target_pre_inferior(), TARGET_WAITKIND_STOPPED, tbreak_command(), ui_out::text(), target_ops::to_create_inferior, target_ops::to_supports_non_stop, target_waitstatus::value, thread_suspend_state::waitstatus, and thread_suspend_state::waitstatus_pending_p.
Referenced by run_command(), start_command(), and starti_command().
|
static |
Definition at line 201 of file infcmd.c.
References inferior_args_scratch, and set_inferior_args().
Referenced by _initialize_infcmd().
|
static |
Definition at line 245 of file infcmd.c.
References inferior_cwd_scratch, and set_inferior_cwd().
Referenced by _initialize_infcmd().
|
static |
Definition at line 2177 of file infcmd.c.
References _, current_inferior(), inferior::environment, error_no_arg(), printf_filtered(), gdb_environ::set(), and string.
Referenced by _initialize_infcmd().
| void set_inferior_args | ( | const char * | newargs | ) |
Definition at line 183 of file infcmd.c.
References inferior::argc, inferior::args, inferior::argv, current_inferior(), and xfree().
Referenced by get_inferior_args(), run_command_1(), and set_args_command().
| void set_inferior_args_vector | ( | int | argc, |
| char ** | argv | ||
| ) |
Definition at line 192 of file infcmd.c.
References inferior::argc, gdb::argv, inferior::argv, and current_inferior().
Referenced by captured_main_1().
| void set_inferior_cwd | ( | const char * | cwd | ) |
Definition at line 222 of file infcmd.c.
References current_inferior(), inferior::cwd, and gdb_assert.
Referenced by set_cwd_command().
| void set_inferior_io_terminal | ( | const char * | terminal_name | ) |
Definition at line 120 of file infcmd.c.
References current_inferior(), inferior::terminal, and xfree().
Referenced by captured_main_1(), mi_cmd_inferior_tty_set(), and set_inferior_tty_command().
|
static |
Definition at line 137 of file infcmd.c.
References inferior_io_terminal_scratch, and set_inferior_io_terminal().
Referenced by _initialize_infcmd().
|
static |
Definition at line 912 of file infcmd.c.
References thread_info::control, find_frame_sal(), find_pc_function(), get_current_frame(), get_frame_pc(), inferior_thread(), set_step_info(), and thread_control_state::step_start_function.
Referenced by prepare_one_step(), and until_next_command().
| void setup_inferior | ( | int | from_tty | ) |
Definition at line 2640 of file infcmd.c.
References current_inferior(), current_target, exec_file_locate_attach(), get_exec_file(), inferior::inferior(), inferior_ptid, inferior::needs_setup, post_create_inferior(), ptid_get_pid(), reopen_exec_file(), reread_symbols(), and target_post_attach.
Referenced by attach_post_wait(), process_initial_stop_replies(), and stop_all_threads().
|
static |
Definition at line 211 of file infcmd.c.
References deprecated_show_value_hack, and get_inferior_args().
Referenced by _initialize_infcmd().
|
static |
Definition at line 256 of file infcmd.c.
References _, inferior::cwd, fprintf_filtered(), gdb_stdout, and get_inferior_cwd().
Referenced by _initialize_infcmd().
|
static |
Definition at line 146 of file infcmd.c.
References _, fprintf_filtered(), gdb_stdout, and get_inferior_io_terminal().
Referenced by _initialize_infcmd().
|
static |
Definition at line 1301 of file infcmd.c.
References _, ALL_NON_EXITED_THREADS, clear_proceed_status(), current_target, dont_repeat(), ensure_not_running(), ensure_not_tfind_mode(), ensure_valid_thread(), error(), error_no_arg(), ERROR_NO_INFERIOR, gdb_signal_from_command(), gdb_signal_from_name(), gdb_signal_to_name(), gdb_signal_to_string(), inferior_ptid, inferior_thread(), non_stop, parse_and_eval_long(), prepare_execution_command(), print_thread_id(), printf_filtered(), printf_unfiltered(), proceed(), thread_info::ptid, ptid_equal(), ptid_match(), query(), signal_pass_state(), thread_suspend_state::stop_signal, strip_bg_char(), thread_info::suspend, and user_visible_resume_ptid().
Referenced by _initialize_infcmd().
|
static |
Definition at line 1954 of file infcmd.c.
References skip_tailcall_frames(), and skip_unwritable_frames().
Referenced by finish_command().
|
static |
Definition at line 695 of file infcmd.c.
References _, error(), have_minimal_symbols(), run_command_1(), and RUN_STOP_AT_MAIN.
Referenced by _initialize_infcmd().
|
static |
Definition at line 711 of file infcmd.c.
References run_command_1(), and RUN_STOP_AT_FIRST_INSN.
Referenced by _initialize_infcmd().
|
static |
Definition at line 1032 of file infcmd.c.
References all_uis_check_sync_execution_done(), clear_proceed_status(), command_interp(), step_command_fsm::count, current_target, ensure_not_running(), ensure_not_tfind_mode(), ensure_valid_thread(), ERROR_NO_INFERIOR, INF_EXEC_COMPLETE, inferior_event_handler(), inferior_thread(), new_step_command_fsm(), normal_stop(), parse_and_eval_long(), prepare_execution_command(), prepare_one_step(), proceed(), step_command_fsm::single_inst, step_command_fsm::skip_subroutines, step_command_fsm_prepare(), strip_bg_char(), thread_info::thread_fsm, step_command_fsm::thread_fsm, and thread_fsm_clean_up().
Referenced by next_command(), nexti_command(), step_command(), and stepi_command().
|
static |
|
static |
Definition at line 1122 of file infcmd.c.
References EXEC_ASYNC_END_STEPPING_RANGE.
|
static |
Definition at line 1110 of file infcmd.c.
References delete_longjmp_breakpoint(), thread_info::global_num, step_command_fsm::single_inst, and step_command_fsm::skip_subroutines.
|
static |
Definition at line 1014 of file infcmd.c.
References thread_info::control, step_command_fsm::count, get_current_frame(), get_frame_id(), set_longjmp_breakpoint(), step_command_fsm::single_inst, step_command_fsm::skip_subroutines, and thread_control_state::stepping_command.
Referenced by step_1().
|
static |
Definition at line 1090 of file infcmd.c.
References thread_info::control, step_command_fsm::count, prepare_one_step(), thread_control_state::stop_step, and thread_fsm_set_finished().
|
static |
|
static |
Definition at line 401 of file infcmd.c.
References inferior::args, and savestring().
Referenced by advance_command(), attach_command(), continue_command(), finish_command(), jump_command(), run_command_1(), signal_command(), step_1(), and until_command().
|
static |
Definition at line 3112 of file infcmd.c.
References _, all_commands, gdb_stdout, help_list(), printf_filtered(), and unsetlist.
Referenced by _initialize_infcmd().
|
static |
Definition at line 2239 of file infcmd.c.
References _, gdb_environ::clear(), current_inferior(), inferior::environment, query(), and gdb_environ::unset().
Referenced by _initialize_infcmd().
|
static |
Definition at line 1577 of file infcmd.c.
References current_target, ensure_not_running(), ensure_not_tfind_mode(), ensure_valid_thread(), ERROR_NO_INFERIOR, prepare_execution_command(), strip_bg_char(), until_break_command(), and until_next_command().
Referenced by _initialize_infcmd().
|
static |
Definition at line 1520 of file infcmd.c.
References _, BLOCK_START, BMSYMBOL_VALUE_ADDRESS, clear_proceed_status(), command_interp(), thread_info::control, delete_longjmp_breakpoint_cleanup(), discard_cleanups(), symtab_and_line::end, error(), find_pc_function(), find_pc_line(), func, get_current_frame(), get_frame_id(), get_frame_pc(), thread_info::global_num, inferior_thread(), lookup_minimal_symbol_by_pc(), make_cleanup(), thread_control_state::may_range_step, bound_minimal_symbol::minsym, new_until_next_fsm(), proceed(), set_longjmp_breakpoint(), set_step_frame(), STEP_OVER_ALL, thread_control_state::step_over_calls, thread_control_state::step_range_end, thread_control_state::step_range_start, SYMBOL_BLOCK_VALUE, thread_info::thread_fsm, and until_next_fsm::thread_fsm.
Referenced by until_command().
|
static |
Definition at line 1506 of file infcmd.c.
References EXEC_ASYNC_END_STEPPING_RANGE.
|
static |
Definition at line 1497 of file infcmd.c.
References delete_longjmp_breakpoint(), and until_next_fsm::thread.
|
static |
Definition at line 1484 of file infcmd.c.
References thread_info::control, thread_control_state::stop_step, and thread_fsm_set_finished().
|
static |
Definition at line 1764 of file infcmd.c.
Referenced by new_finish_command_fsm().
|
static |
Definition at line 78 of file infcmd.c.
Referenced by _initialize_infcmd(), and set_args_command().
|
static |
Definition at line 82 of file infcmd.c.
Referenced by _initialize_infcmd(), and set_cwd_command().
|
static |
Definition at line 87 of file infcmd.c.
Referenced by _initialize_infcmd(), and set_inferior_tty_command().
| ptid_t inferior_ptid |
Definition at line 94 of file infcmd.c.
Referenced by _initialize_infrun(), aarch64_linux_insert_hw_breakpoint(), aarch64_linux_insert_watchpoint(), aarch64_linux_read_description(), aarch64_linux_remove_hw_breakpoint(), aarch64_linux_remove_watchpoint(), aarch64_linux_stopped_data_address(), ada_exception_support_info_sniffer(), add_current_inferior_and_thread(), add_fork(), add_thread_db_info(), add_thread_silent(), add_to_thread_list(), adi_align_address(), adi_assign_command(), adi_available(), adi_convert_byte_count(), adi_examine_command(), adi_is_addr_mapped(), adi_normalize_address(), adi_print_versions(), adi_read_versions(), adi_tag_fd(), adi_write_versions(), aix_thread_get_ada_task_ptid(), aix_thread_resume(), aix_thread_wait(), aix_thread_xfer_partial(), amd64fbsd_read_description(), any_live_thread_of_process(), any_thread_of_process(), append_pending_thread_resumptions(), arm_linux_get_hwbp_cap(), arm_linux_insert_hw_breakpoint1(), arm_linux_read_description(), arm_linux_remove_hw_breakpoint1(), arm_linux_stopped_data_address(), attach_command(), BP_MANIPULATION(), bpfinishpy_init(), bpstat_clear_actions(), bpstat_do_actions(), breakpoint_about_to_proceed(), breakpoint_re_set_thread(), bsd_kvm_close(), bsd_kvm_open(), bsd_uthread_fetch_registers(), bsd_uthread_store_registers(), bsd_uthread_update_thread_list(), bsd_uthread_wait(), btrace_fetch(), call_function_by_hand_dummy(), can_use_watchpoint_cond_accel(), check_for_thread_db(), check_pid_namespace_match(), check_stopped_by_watchpoint(), checkpoint_command(), child_terminal_info(), clear_proceed_status(), cli_on_user_selected_context_changed(), cmd_record_delete(), cmd_record_save(), context_switch(), continue_command(), core_close(), core_open(), cur_thread(), current_lwp_ptid(), darwin_attach(), darwin_decode_message(), darwin_detach(), darwin_get_ada_task_ptid(), darwin_init_thread_list(), darwin_kill_inferior(), darwin_resume(), darwin_stop_inferior(), dcache_read_memory_partial(), default_child_has_all_memory(), default_child_has_memory(), default_child_has_registers(), default_child_has_stack(), default_get_ada_task_ptid(), default_target_pass_ctrlc(), thread_info::deletable(), delete_checkpoint_command(), delete_fork(), detach_breakpoints(), detach_checkpoint_command(), detach_command(), dtrace_probe::disable(), displaced_step_prepare_throw(), display_current_task_id(), display_tib(), do_detach(), do_initial_windows_stuff(), dummy_frame_sniffer(), elf_gnu_ifunc_resolver_return_stop(), elf_gnu_ifunc_resolver_stop(), dtrace_probe::enable(), enable_break(), ensure_not_running(), ensure_valid_thread(), evaluate_subexp(), extended_remote_attach(), fbsd_core_xfer_siginfo(), fbsd_find_memory_regions(), fbsd_make_corefile_notes(), fetch_inferior_event(), fetch_ppc_memory(), fetch_ppc_register(), find_frame_sal(), find_signalled_thread(), follow_fork(), follow_fork_inferior(), for_each_just_stopped_thread(), frame_inlined_callees(), frame_pop(), frame_show_address(), gcore_command(), gdbpy_current_recording(), gdbpy_selected_thread(), gdbsim_create_inferior(), gdbsim_kill(), gdbsim_open(), gdbsim_wait(), generic_mourn_inferior(), get_call_return_value(), get_current_regcache(), get_current_thread(), get_displaced_step_closure_by_addr(), get_event_thread(), get_signaled_thread(), get_task_from_args(), get_thread_current_frame(), get_windows_debug_event(), gnu_attach(), gnu_create_inferior(), gnu_detach(), gnu_kill_inferior(), gnu_resume(), gnu_wait(), go32_create_inferior(), go32_mourn_inferior(), handle_inferior_event_1(), handle_signal_stop(), handle_syscall_event(), handle_vfork_child_exec_or_exit(), has_stack_frames(), i386_darwin_dr_get(), i386_darwin_dr_set(), i386fbsd_resume(), ia64_linux_stopped_data_address(), inf_ptrace_attach(), inf_ptrace_detach(), inf_ptrace_detach_success(), inf_ptrace_files_info(), inf_ptrace_kill(), inf_ptrace_mourn_inferior(), inf_ptrace_resume(), inf_ptrace_wait(), inf_ptrace_xfer_partial(), inf_validate_procs(), inferior_call_waitpid(), inferior_command(), inferior_event_handler(), inferior_thread(), info_checkpoints_command(), info_mach_exceptions_command(), info_mach_ports_command(), info_mach_region_command(), info_program_command(), infrun_thread_ptid_changed(), init_wait_for_inferior(), inline_frame_sniffer(), insert_breakpoint_locations(), insert_catch_exec(), insert_catch_fork(), insert_catch_vfork(), internal_resume_ptid(), interrupt_query(), interrupt_target_1(), keep_going_pass_signal(), kill_command(), kill_if_already_running(), linux_child_follow_fork(), linux_core_xfer_siginfo(), linux_fill_prpsinfo(), linux_fork_context(), linux_fork_detach(), linux_fork_mourn_inferior(), linux_get_siginfo_data(), linux_make_corefile_notes(), linux_nat_attach(), linux_nat_detach(), linux_nat_kill(), linux_nat_mourn_inferior(), linux_nat_resume(), linux_nat_stopped_by_hw_breakpoint(), linux_nat_stopped_by_sw_breakpoint(), linux_nat_stopped_by_watchpoint(), linux_nat_stopped_data_address(), linux_nat_switch_fork(), linux_nat_wait_1(), linux_nat_xfer_partial(), linux_proc_xfer_partial(), linux_proc_xfer_spu(), linux_xfer_siginfo(), maint_btrace_clear_cmd(), maint_btrace_clear_packet_history_cmd(), maint_btrace_packet_history_cmd(), maint_info_btrace_cmd(), memory_xfer_partial_1(), mi_about_to_proceed(), mi_cmd_thread_list_ids(), mi_cmd_thread_select(), mi_cmd_var_update_iter(), mi_execute_command(), mi_on_normal_stop_1(), mi_user_selected_context_changed(), mips_linux_can_use_hw_breakpoint(), mips_linux_insert_watchpoint(), mips_linux_read_description(), mips_linux_region_ok_for_hw_watchpoint(), mips_linux_stopped_by_watchpoint(), normal_stop(), notice_new_inferior(), nto_handle_sigint(), parse_spufs_run(), pass_signal(), pd_activate(), pd_deactivate(), pd_update(), pop_dummy_frame(), postfork_hook(), ppc_linux_can_use_hw_breakpoint(), ppc_linux_read_description(), ppc_linux_spe_context(), ppc_linux_stopped_data_address(), ppc_linux_target_wordsize(), ppc_ravenscar_generic_fetch_registers(), ppc_ravenscar_generic_store_registers(), prepare_one_step(), print_ada_task_info(), print_selected_thread_frame(), print_thread_info_1(), proc_find_memory_regions(), proc_set_current_signal(), proc_trace_syscalls(), proceed(), process_initial_stop_replies(), process_stop_reply(), procfs_attach(), procfs_create_inferior(), procfs_detach(), procfs_do_thread_registers(), procfs_files_info(), procfs_info_proc(), procfs_insert_watchpoint(), procfs_kill_inferior(), procfs_make_note_section(), procfs_mourn_inferior(), procfs_pass_signals(), procfs_remove_watchpoint(), procfs_resume(), procfs_set_watchpoint(), procfs_stopped_by_watchpoint(), procfs_stopped_data_address(), procfs_update_thread_list(), procfs_wait(), procfs_xfer_auxv(), procfs_xfer_memory(), ps_lgetfpregs(), ps_lgetregs(), ps_lsetfpregs(), ps_lsetregs(), ps_xfer_memory(), python_on_normal_stop(), ravenscar_core_of_thread(), ravenscar_resume(), ravenscar_stopped_by_hw_breakpoint(), ravenscar_stopped_by_sw_breakpoint(), ravenscar_stopped_by_watchpoint(), ravenscar_stopped_data_address(), ravenscar_update_inferior_ptid(), ravenscar_wait(), raw_memory_xfer_partial(), read_ptid(), record_btrace_frame_sniffer(), record_btrace_info(), record_btrace_resume(), record_btrace_tailcall_frame_sniffer(), record_btrace_xfer_partial(), record_full_wait_1(), record_mourn_inferior(), registers_changed_ptid(), remote_close(), remote_detach_1(), remote_get_ada_task_ptid(), remote_kill(), remote_mourn(), remote_newthread_step(), remote_notice_new_inferior(), remote_parse_stop_reply(), remote_pass_ctrlc(), remote_read_description(), remote_resume(), remote_resume_with_vcont(), remote_serial_quit_handler(), remote_start_remote(), remote_update_thread_list(), remote_wait_as(), remote_xfer_partial(), remove_catch_exec(), remove_catch_fork(), remove_catch_vfork(), require_btrace_thread(), resume(), resume_1(), rs6000_wait(), rs6000_xfer_partial(), rs6000_xfer_shared_libraries(), run_command_1(), run_inferior_call(), run_one_inferior(), rw_common(), s390_inferior_tid(), s390_insert_hw_breakpoint(), s390_insert_watchpoint(), s390_remove_hw_breakpoint(), s390_remove_watchpoint(), s390_stopped_by_watchpoint(), save_stop_context(), scoped_restore_current_thread::scoped_restore_current_thread(), set_enable_mach_exceptions(), set_general_process(), set_longjmp_breakpoint_for_call_dummy(), set_momentary_breakpoint(), setup_inferior(), siginfo_make_value(), signal_command(), sol_thread_detach(), sol_thread_resume(), sol_thread_wait(), sol_thread_xfer_partial(), sol_update_thread_list_callback(), sparc_ravenscar_fetch_registers(), sparc_ravenscar_store_registers(), sparc_xfer_wcookie(), spu2ppu_sniffer(), spu_child_wait(), spu_fetch_inferior_registers(), spu_fetch_registers(), spu_proc_xfer_spu(), spu_skip_standalone_loader(), spu_store_inferior_registers(), spu_store_registers(), stop_all_threads(), stop_context_changed(), store_ppc_memory(), store_regs(), switch_to_no_thread(), switch_to_thread(), switch_to_thread_no_regs(), sync_threadlists(), target_announce_detach(), target_detach(), target_has_execution_current(), target_mourn_inferior(), target_translate_tls_address(), tfile_close(), tfile_open(), thread_apply_all_command(), thread_apply_command(), thread_command(), thread_db_detach(), thread_db_get_ada_task_ptid(), thread_db_load(), thread_db_mourn_inferior(), thread_db_resume(), thread_name_command(), thread_num_make_value_helper(), tlb_make_value(), tlb_value_read(), try_thread_db_load(), try_thread_db_load_1(), tui_make_status_line(), tui_on_user_selected_context_changed(), update_inserted_breakpoint_locations(), update_solib_list(), user_visible_resume_ptid(), validate_registers_access(), varobj_create(), VEC(), watch_command_1(), watchpoint_in_thread_scope(), windows_close(), windows_detach(), windows_files_info(), windows_get_ada_task_ptid(), windows_kill_inferior(), windows_resume(), write_memory_ptid(), x86_cleanup_dregs(), x86_insert_hw_breakpoint(), x86_insert_watchpoint(), x86_linux_read_description(), x86_region_ok_for_watchpoint(), x86_remove_hw_breakpoint(), x86_remove_watchpoint(), x86_stopped_by_watchpoint(), x86_stopped_data_address(), and scoped_restore_current_thread::~scoped_restore_current_thread().
|
static |
Definition at line 2254 of file infcmd.c.
Referenced by path_command(), and path_info().
| int startup_with_shell = 1 |
Definition at line 111 of file infcmd.c.
Referenced by _initialize_fork_child(), construct_inferior_arguments(), extended_remote_create_inferior(), fork_inferior(), and startup_inferior().
|
static |
Definition at line 988 of file infcmd.c.
Referenced by new_step_command_fsm().
| CORE_ADDR stop_pc |
Definition at line 98 of file infcmd.c.
Referenced by cplus_skip_trampoline(), fill_in_stop_func(), fork_load_infrun_state(), gnuv3_skip_trampoline(), handle_inferior_event_1(), handle_signal_stop(), handle_step_into_function(), handle_step_into_function_backward(), handle_syscall_event(), info_program_command(), keep_going_stepped_thread(), m32c_skip_trampoline_code(), objc_skip_trampoline(), post_create_inferior(), print_one_stopped_thread(), print_stop_location(), proceed(), process_event_stop_test(), record_btrace_set_replay(), record_full_goto_entry(), restore_infcall_suspend_state(), save_infcall_suspend_state(), switch_to_no_thread(), switch_to_thread(), and switch_to_thread_no_regs().
| enum stop_stack_kind stop_stack_dummy |
Definition at line 102 of file infcmd.c.
Referenced by call_function_by_hand_dummy(), call_thread_fsm_should_stop(), handle_inferior_event_1(), normal_stop(), process_event_stop_test(), restore_infcall_control_state(), run_inferior_call(), and save_infcall_control_state().
| int stopped_by_random_signal |
Definition at line 107 of file infcmd.c.
Referenced by call_function_by_hand_dummy(), handle_signal_stop(), normal_stop(), restore_infcall_control_state(), and save_infcall_control_state().
|
static |
Definition at line 1456 of file infcmd.c.
Referenced by new_until_next_fsm().
1.8.14