GDB (xrefs)
Loading...
Searching...
No Matches
Classes | Macros | Enumerations | Functions | Variables
infcmd.c File Reference
#include "defs.h"
#include "arch-utils.h"
#include "symtab.h"
#include "gdbtypes.h"
#include "frame.h"
#include "inferior.h"
#include "infrun.h"
#include "gdbsupport/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 "regcache.h"
#include "reggroups.h"
#include "block.h"
#include "solib.h"
#include <ctype.h>
#include "observable.h"
#include "target-descriptions.h"
#include "user-regs.h"
#include "gdbthread.h"
#include "valprint.h"
#include "inline-frame.h"
#include "tracepoint.h"
#include "inf-loop.h"
#include "linespec.h"
#include "thread-fsm.h"
#include "ui.h"
#include "interps.h"
#include "skip.h"
#include "gdbsupport/gdb_optional.h"
#include "source.h"
#include "cli/cli-style.h"
#include "dwarf2/loc.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  finish_command_fsm::return_value_info
 

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 *)
 
static void set_tty_value (const std::string &tty)
 
static const std::string & get_tty_value ()
 
static void show_inferior_tty_command (struct ui_file *file, int from_tty, struct cmd_list_element *c, const char *value)
 
static void set_args_value (const std::string &args)
 
static const std::string & get_args_value ()
 
static void show_args_command (struct ui_file *file, int from_tty, struct cmd_list_element *c, const char *value)
 
const std::string & get_inferior_cwd ()
 
static void set_cwd_value (const std::string &args)
 
static void show_cwd_command (struct ui_file *file, int from_tty, struct cmd_list_element *c, const char *value)
 
static gdb::unique_xmalloc_ptr< char > strip_bg_char (const char *args, int *bg_char_p)
 
void post_create_inferior (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 (thread_info *tp)
 
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)
 
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 (thread_info *, 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 void until_command (const char *arg, int from_tty)
 
static void advance_command (const char *arg, int from_tty)
 
struct valueget_return_value (struct symbol *func_symbol, struct value *function)
 
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 void finish_backward (struct finish_command_fsm *sm)
 
static void finish_forward (struct finish_command_fsm *sm, frame_info_ptr frame)
 
static frame_info_ptr skip_finish_frames (frame_info_ptr 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 pad_to_column (string_file &stream, int col)
 
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, frame_info_ptr 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, frame_info_ptr 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 void proceed_after_attach (inferior *inf)
 
void setup_inferior (int from_tty)
 
static void attach_post_wait (int from_tty, enum attach_post_wait_mode mode)
 
void attach_command (const char *args, int from_tty)
 
void notice_new_inferior (thread_info *thr, bool leave_running, int from_tty)
 
void detach_command (const char *args, int from_tty)
 
static void disconnect_command (const char *args, int from_tty)
 
static void stop_current_target_threads_ns (ptid_t ptid)
 
void interrupt_target_1 (bool all_threads)
 
static void interrupt_command (const char *args, int from_tty)
 
void default_print_float_info (struct gdbarch *gdbarch, struct ui_file *file, frame_info_ptr frame, const char *args)
 
static void info_float_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_files (const char *args, int from_tty)
 
static void info_proc_cmd_all (const char *args, int from_tty)
 
static void show_print_finish (struct ui_file *file, int from_tty, struct cmd_list_element *c, const char *value)
 
void _initialize_infcmd ()
 

Variables

ptid_t inferior_ptid
 
enum stop_stack_kind stop_stack_dummy
 
int stopped_by_random_signal
 
static bool finish_print = true
 
static const char path_var_name [] = "PATH"
 

Macro Definition Documentation

◆ ERROR_NO_INFERIOR

#define ERROR_NO_INFERIOR    if (!target_has_execution ()) error (_("The program is not being run."));

◆ RUN_ARGS_HELP

#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 3119 of file infcmd.c.

Enumeration Type Documentation

◆ attach_post_wait_mode

Enumerator
ATTACH_POST_WAIT_NOTHING 
ATTACH_POST_WAIT_RESUME 
ATTACH_POST_WAIT_STOP 

Definition at line 2562 of file infcmd.c.

◆ run_how

enum run_how
Enumerator
RUN_NORMAL 
RUN_STOP_AT_MAIN 
RUN_STOP_AT_FIRST_INSN 

Definition at line 354 of file infcmd.c.

Function Documentation

◆ _initialize_infcmd()

void _initialize_infcmd ( )

Definition at line 3134 of file infcmd.c.

Referenced by initialize_all_files().

◆ advance_command()

static void advance_command ( const char * arg,
int from_tty )
static

◆ attach_command()

void attach_command ( const char * args,
int from_tty )

◆ attach_post_wait()

static void attach_post_wait ( int from_tty,
enum attach_post_wait_mode mode )
static

◆ continue_1()

void continue_1 ( int all_threads)

◆ continue_command()

static void continue_command ( const char * args,
int from_tty )
static

◆ default_print_float_info()

void default_print_float_info ( struct gdbarch * gdbarch,
struct ui_file * file,
frame_info_ptr frame,
const char * args )

◆ default_print_one_register_info()

static void default_print_one_register_info ( struct ui_file * file,
const char * name,
struct value * val )
static

◆ default_print_registers_info()

void default_print_registers_info ( struct gdbarch * gdbarch,
struct ui_file * file,
frame_info_ptr frame,
int regnum,
int print_all )

◆ detach_command()

void detach_command ( const char * args,
int from_tty )

◆ disconnect_command()

static void disconnect_command ( const char * args,
int from_tty )
static

◆ ensure_not_running()

static void ensure_not_running ( void )
static

◆ ensure_not_tfind_mode()

static void ensure_not_tfind_mode ( void )
static

◆ ensure_valid_thread()

static void ensure_valid_thread ( void )
static

◆ environment_info()

static void environment_info ( const char * var,
int from_tty )
static

Definition at line 2052 of file infcmd.c.

References current_inferior(), inferior::environment, and gdb_puts().

◆ error_is_running()

static void error_is_running ( void )
static

Definition at line 585 of file infcmd.c.

Referenced by ensure_not_running().

◆ finish_backward()

static void finish_backward ( struct finish_command_fsm * sm)
static

◆ finish_command()

static void finish_command ( const char * arg,
int from_tty )
static

◆ finish_forward()

static void finish_forward ( struct finish_command_fsm * sm,
frame_info_ptr frame )
static

◆ get_args_value()

static const std::string & get_args_value ( )
static

Definition at line 134 of file infcmd.c.

References inferior::args(), and current_inferior().

◆ get_inferior_cwd()

const std::string & get_inferior_cwd ( )

Definition at line 155 of file infcmd.c.

References current_inferior(), and inferior::cwd().

Referenced by fork_inferior().

◆ get_return_value()

struct value * get_return_value ( struct symbol * func_symbol,
struct value * function )

◆ get_tty_value()

static const std::string & get_tty_value ( )
static

Definition at line 103 of file infcmd.c.

References current_inferior(), and inferior::tty().

◆ info_all_registers_command()

static void info_all_registers_command ( const char * addr_exp,
int from_tty )
static

Definition at line 2434 of file infcmd.c.

References registers_info().

◆ info_float_command()

static void info_float_command ( const char * args,
int from_tty )
static

◆ info_proc_cmd()

static void info_proc_cmd ( const char * args,
int from_tty )
static

Definition at line 3034 of file infcmd.c.

References info_proc_cmd_1(), and IP_MINIMAL.

◆ info_proc_cmd_1()

static void info_proc_cmd_1 ( const char * args,
enum info_proc_what what,
int from_tty )
static

◆ info_proc_cmd_all()

static void info_proc_cmd_all ( const char * args,
int from_tty )
static

Definition at line 3098 of file infcmd.c.

References info_proc_cmd_1(), and IP_ALL.

◆ info_proc_cmd_cmdline()

static void info_proc_cmd_cmdline ( const char * args,
int from_tty )
static

Definition at line 3074 of file infcmd.c.

References info_proc_cmd_1(), and IP_CMDLINE.

◆ info_proc_cmd_cwd()

static void info_proc_cmd_cwd ( const char * args,
int from_tty )
static

Definition at line 3066 of file infcmd.c.

References info_proc_cmd_1(), and IP_CWD.

◆ info_proc_cmd_exe()

static void info_proc_cmd_exe ( const char * args,
int from_tty )
static

Definition at line 3082 of file infcmd.c.

References info_proc_cmd_1(), and IP_EXE.

◆ info_proc_cmd_files()

static void info_proc_cmd_files ( const char * args,
int from_tty )
static

Definition at line 3090 of file infcmd.c.

References info_proc_cmd_1(), and IP_FILES.

◆ info_proc_cmd_mappings()

static void info_proc_cmd_mappings ( const char * args,
int from_tty )
static

Definition at line 3042 of file infcmd.c.

References info_proc_cmd_1(), and IP_MAPPINGS.

◆ info_proc_cmd_stat()

static void info_proc_cmd_stat ( const char * args,
int from_tty )
static

Definition at line 3050 of file infcmd.c.

References info_proc_cmd_1(), and IP_STAT.

◆ info_proc_cmd_status()

static void info_proc_cmd_status ( const char * args,
int from_tty )
static

Definition at line 3058 of file infcmd.c.

References info_proc_cmd_1(), and IP_STATUS.

◆ info_program_command()

static void info_program_command ( const char * args,
int from_tty )
static

◆ info_registers_command()

static void info_registers_command ( const char * addr_exp,
int from_tty )
static

Definition at line 2440 of file infcmd.c.

References registers_info().

◆ info_vector_command()

static void info_vector_command ( const char * args,
int from_tty )
static

◆ interrupt_command()

static void interrupt_command ( const char * args,
int from_tty )
static

◆ interrupt_target_1()

void interrupt_target_1 ( bool all_threads)

◆ jump_command()

static void jump_command ( const char * arg,
int from_tty )
static

◆ kill_command()

static void kill_command ( const char * arg,
int from_tty )
static

◆ kill_if_already_running()

static void kill_if_already_running ( int from_tty)
static

Definition at line 316 of file infcmd.c.

References inferior_ptid, query(), target_has_execution(), target_kill(), and target_require_runnable().

Referenced by run_command_1().

◆ next_command()

static void next_command ( const char * count_string,
int from_tty )
static

Definition at line 767 of file infcmd.c.

References step_1().

◆ nexti_command()

static void nexti_command ( const char * count_string,
int from_tty )
static

Definition at line 781 of file infcmd.c.

References step_1().

◆ notice_new_inferior()

void notice_new_inferior ( thread_info * thr,
bool leave_running,
int from_tty )

◆ pad_to_column()

static void pad_to_column ( string_file & stream,
int col )
static

Definition at line 2193 of file infcmd.c.

References n_spaces(), ui_file::putc(), ui_file::puts(), size, and string_file::size().

Referenced by default_print_one_register_info().

◆ path_command()

static void path_command ( const char * dirname,
int from_tty )
static

◆ path_info()

static void path_info ( const char * args,
int from_tty )
static

Definition at line 2165 of file infcmd.c.

References current_inferior(), gdb_puts(), and path_var_name.

Referenced by path_command().

◆ post_create_inferior()

void post_create_inferior ( int from_tty)

◆ prepare_execution_command()

void prepare_execution_command ( struct target_ops * target,
int background )

◆ prepare_one_step()

static int prepare_one_step ( thread_info * tp,
struct step_command_fsm * sm )
static

◆ print_return_value()

void print_return_value ( struct ui_out * uiout,
struct return_value_info * rv )

◆ print_return_value_1()

static void print_return_value_1 ( struct ui_out * uiout,
struct return_value_info * rv )
static

◆ print_vector_info()

static void print_vector_info ( struct ui_file * file,
frame_info_ptr frame,
const char * args )
static

◆ proceed_after_attach()

static void proceed_after_attach ( inferior * inf)
static

Definition at line 2516 of file infcmd.c.

References clear_proceed_status(), proceed(), and switch_to_thread().

Referenced by attach_post_wait().

◆ proceed_thread_callback()

static int proceed_thread_callback ( struct thread_info * thread,
void * arg )
static

◆ queue_signal_command()

static void queue_signal_command ( const char * signum_exp,
int from_tty )
static

◆ registers_info()

void registers_info ( const char * addr_exp,
int fpregs )

◆ run_command()

static void run_command ( const char * args,
int from_tty )
static

Definition at line 509 of file infcmd.c.

References run_command_1(), and RUN_NORMAL.

◆ run_command_1()

static void run_command_1 ( const char * args,
int from_tty,
enum run_how run_how )
static

◆ set_args_value()

static void set_args_value ( const std::string & args)
static

Definition at line 126 of file infcmd.c.

References current_inferior(), and inferior::set_args().

◆ set_cwd_value()

static void set_cwd_value ( const std::string & args)
static

Definition at line 163 of file infcmd.c.

References current_inferior(), and inferior::set_cwd().

◆ set_environment_command()

static void set_environment_command ( const char * arg,
int from_tty )
static

Definition at line 2085 of file infcmd.c.

References current_inferior(), inferior::environment, error_no_arg(), and gdb_printf().

◆ set_step_frame()

static void set_step_frame ( thread_info * tp)
static

◆ set_tty_value()

static void set_tty_value ( const std::string & tty)
static

Definition at line 95 of file infcmd.c.

References current_inferior(), and inferior::set_tty().

◆ setup_inferior()

void setup_inferior ( int from_tty)

◆ show_args_command()

static void show_args_command ( struct ui_file * file,
int from_tty,
struct cmd_list_element * c,
const char * value )
static

Definition at line 142 of file infcmd.c.

References current_inferior(), and gdb_printf().

◆ show_cwd_command()

static void show_cwd_command ( struct ui_file * file,
int from_tty,
struct cmd_list_element * c,
const char * value )
static

Definition at line 171 of file infcmd.c.

References current_inferior(), inferior::cwd(), and gdb_printf().

◆ show_inferior_tty_command()

static void show_inferior_tty_command ( struct ui_file * file,
int from_tty,
struct cmd_list_element * c,
const char * value )
static

Definition at line 111 of file infcmd.c.

References current_inferior(), gdb_printf(), and inferior::tty().

◆ show_print_finish()

static void show_print_finish ( struct ui_file * file,
int from_tty,
struct cmd_list_element * c,
const char * value )
static

Definition at line 3106 of file infcmd.c.

References gdb_printf().

◆ signal_command()

static void signal_command ( const char * signum_exp,
int from_tty )
static

◆ skip_finish_frames()

static frame_info_ptr skip_finish_frames ( frame_info_ptr frame)
static

Definition at line 1799 of file infcmd.c.

References skip_tailcall_frames(), and skip_unwritable_frames().

Referenced by finish_command().

◆ start_command()

static void start_command ( const char * args,
int from_tty )
static

Definition at line 518 of file infcmd.c.

References have_minimal_symbols(), run_command_1(), and RUN_STOP_AT_MAIN.

◆ starti_command()

static void starti_command ( const char * args,
int from_tty )
static

Definition at line 534 of file infcmd.c.

References run_command_1(), and RUN_STOP_AT_FIRST_INSN.

◆ step_1()

static void step_1 ( int skip_subroutines,
int single_inst,
const char * count_string )
static

◆ step_command()

static void step_command ( const char * count_string,
int from_tty )
static

Definition at line 759 of file infcmd.c.

References step_1().

◆ step_command_fsm_prepare()

static void step_command_fsm_prepare ( struct step_command_fsm * sm,
int skip_subroutines,
int single_inst,
int count,
struct thread_info * thread )
static

◆ stepi_command()

static void stepi_command ( const char * count_string,
int from_tty )
static

Definition at line 775 of file infcmd.c.

References step_1().

◆ stop_current_target_threads_ns()

static void stop_current_target_threads_ns ( ptid_t ptid)
static

◆ strip_bg_char()

static gdb::unique_xmalloc_ptr< char > strip_bg_char ( const char * args,
int * bg_char_p )
static

◆ unset_environment_command()

static void unset_environment_command ( const char * var,
int from_tty )
static

Definition at line 2147 of file infcmd.c.

References current_inferior(), inferior::environment, and query().

◆ until_command()

static void until_command ( const char * arg,
int from_tty )
static

◆ until_next_command()

static void until_next_command ( int from_tty)
static

Variable Documentation

◆ finish_print

bool finish_print = true
static

Definition at line 88 of file infcmd.c.

Referenced by print_return_value_1().

◆ inferior_ptid

ptid_t inferior_ptid

Definition at line 74 of file infcmd.c.

Referenced by aarch64_insert_hw_breakpoint(), aarch64_insert_watchpoint(), aarch64_remove_hw_breakpoint(), aarch64_remove_non_address_bits(), aarch64_remove_watchpoint(), add_thread_db_info(), adi_align_address(), adi_assign_command(), adi_available(), adi_convert_byte_count(), adi_is_addr_mapped(), adi_normalize_address(), adi_print_versions(), adi_read_versions(), adi_tag_fd(), adi_write_versions(), amdgpu_register_name(), any_live_thread_of_inferior(), any_thread_of_inferior(), remote_target::append_pending_thread_resumptions(), arm_linux_get_hwbp_cap(), arm_linux_insert_hw_breakpoint1(), arm_linux_remove_hw_breakpoint1(), darwin_nat_target::attach(), linux_nat_target::attach(), extended_remote_target::attach(), attach_command(), ppc_linux_nat_target::auxv_parse(), bpfinishpy_init(), bpstat_clear_actions(), breakpoint_about_to_proceed(), call_function_by_hand_dummy(), ppc_linux_nat_target::can_accel_watchpoint_condition(), mips_linux_nat_target::can_use_hw_breakpoint(), ppc_linux_nat_target::can_use_hw_breakpoint(), ppc_linux_nat_target::can_use_watchpoint_cond_accel(), stop_context::changed(), check_for_thread_db(), check_stopped_by_watchpoint(), checkpoint_command(), child_terminal_info(), clear_proceed_status(), windows_nat_target::close(), cmd_record_delete(), cmd_record_save(), context_switch(), ravenscar_thread_target::core_of_thread(), core_target_open(), gnu_nat_target::create_inferior(), linux_nat_target::create_inferior(), gdbsim_target::create_inferior(), create_stop_event_object(), cur_thread(), current_lwp_ptid(), dcache_read_memory_partial(), default_get_ada_task_ptid(), delete_checkpoint_command(), delete_fork(), sol_thread_target::detach(), inf_ptrace_target::detach(), detach_breakpoints(), detach_checkpoint_command(), detach_command(), dtrace_probe::disable(), display_selectors(), display_tib(), do_detach(), nbsd_nat_target::dumpcore(), dtrace_probe::enable(), enable_break(), ensure_valid_thread(), expression::evaluate(), fbsd_core_xfer_siginfo(), fetch_inferior_event(), aarch64_linux_nat_target::fetch_memtags(), bsd_uthread_target::fetch_registers(), fetch_regs_user_thread(), fbsd_nat_target::find_memory_regions(), nbsd_nat_target::find_memory_regions(), procfs_target::find_memory_regions(), find_signalled_thread(), find_signalled_thread(), follow_fork(), linux_nat_target::follow_fork(), follow_fork_inferior(), for_each_just_stopped_thread(), gcore_command(), gdbpy_selected_thread(), aix_thread_target::get_ada_task_ptid(), darwin_nat_target::get_ada_task_ptid(), thread_db_target::get_ada_task_ptid(), remote_target::get_ada_task_ptid(), windows_nat_target::get_ada_task_ptid(), get_bpstat_thread(), remote_target::get_current_thread(), get_task_from_args(), get_thread_current_frame_id(), windows_nat_target::get_windows_debug_event(), handle_inferior_event(), process_stratum_target::has_all_memory(), user_selected_context::has_changed(), process_stratum_target::has_memory(), process_stratum_target::has_registers(), process_stratum_target::has_stack(), has_stack_frames(), i386_darwin_dr_get(), i386_darwin_dr_set(), gnu_nat_target::inf_validate_procs(), inferior_event_handler(), inferior_thread_count_make_value(), info_checkpoints_command(), info_mach_exceptions_command(), info_mach_ports_command(), info_mach_region_command(), fbsd_nat_target::info_proc(), nbsd_nat_target::info_proc(), procfs_target::info_proc(), info_program_command(), record_btrace_target::info_record(), infrun_thread_ptid_changed(), insert_breakpoint_locations(), ppc_linux_nat_target::insert_hw_breakpoint(), s390_linux_nat_target::insert_hw_breakpoint(), exec_catchpoint::insert_location(), fork_catchpoint::insert_location(), syscall_catchpoint::insert_location(), ppc_linux_nat_target::insert_mask_watchpoint(), mips_linux_nat_target::insert_watchpoint(), ppc_linux_nat_target::insert_watchpoint(), procfs_target::insert_watchpoint(), s390_linux_nat_target::insert_watchpoint(), internal_resume_ptid(), interrupt_query(), interrupt_target_1(), keep_going_pass_signal(), darwin_nat_target::kill(), fbsd_nat_target::kill(), gnu_nat_target::kill(), inf_ptrace_target::kill(), linux_nat_target::kill(), nto_procfs_target::kill(), procfs_target::kill(), gdbsim_target::kill(), remote_target::kill(), windows_nat_target::kill(), kill_command(), kill_if_already_running(), linux_core_xfer_siginfo(), linux_fill_prpsinfo(), linux_fork_context(), linux_fork_detach(), linux_fork_mourn_inferior(), linux_nat_switch_fork(), ppc_linux_nat_target::low_stopped_data_address(), maint_btrace_clear_cmd(), maint_btrace_clear_packet_history_cmd(), maint_btrace_packet_history_cmd(), maint_info_btrace_cmd(), maintenance_check_libthread_db(), procfs_target::make_corefile_notes(), tui_locator_window::make_status_line(), ppc_linux_nat_target::masked_watch_num_registers(), memory_xfer_partial_1(), mi_cmd_thread_list_ids(), mi_cmd_var_update_iter(), inf_ptrace_target::mourn_inferior(), linux_nat_target::mourn_inferior(), thread_db_target::mourn_inferior(), nto_procfs_target::mourn_inferior(), procfs_target::mourn_inferior(), nbsd_add_threads(), normal_stop(), notice_new_inferior(), mi_interp::on_about_to_proceed(), cli_interp_base::on_user_selected_context_changed(), mi_interp::on_user_selected_context_changed(), pass_signal(), procfs_target::pass_signals(), pd_disable(), prepare_one_step(), print_ada_task_info(), print_selected_thread_frame(), print_thread_info_1(), proc_set_current_signal(), proc_trace_syscalls(), procfs_set_watchpoint(), procfs_xfer_auxv(), procfs_xfer_memory(), python_on_normal_stop(), ppc_linux_nat_target::ranged_break_num_registers(), raw_memory_xfer_partial(), aarch64_fbsd_nat_target::read_description(), aarch64_linux_nat_target::read_description(), amd64_fbsd_nat_target::read_description(), arm_fbsd_nat_target::read_description(), arm_linux_nat_target::read_description(), i386_fbsd_nat_target::read_description(), mips_linux_nat_target::read_description(), ppc_linux_nat_target::read_description(), remote_target::read_description(), riscv_linux_nat_target::read_description(), s390_linux_nat_target::read_description(), x86_linux_nat_target::read_description(), record_full_wait_1(), record_mourn_inferior(), mips_linux_nat_target::region_ok_for_hw_watchpoint(), ppc_linux_nat_target::region_ok_for_hw_watchpoint(), registers_changed_ptid(), remote_target::remote_detach_1(), remote_newthread_step(), remote_target::remote_notice_new_inferior(), remote_target::remote_resume_with_vcont(), ppc_linux_nat_target::remove_hw_breakpoint(), s390_linux_nat_target::remove_hw_breakpoint(), exec_catchpoint::remove_location(), fork_catchpoint::remove_location(), syscall_catchpoint::remove_location(), ppc_linux_nat_target::remove_mask_watchpoint(), ppc_linux_nat_target::remove_watchpoint(), procfs_target::remove_watchpoint(), s390_linux_nat_target::remove_watchpoint(), require_btrace_thread(), scoped_restore_current_thread::restore(), resume(), aix_thread_target::resume(), amd_dbgapi_target::resume(), darwin_nat_target::resume(), fbsd_nat_target::resume(), gnu_nat_target::resume(), i386_fbsd_nat_target::resume(), inf_ptrace_target::resume(), linux_nat_target::resume(), thread_db_target::resume(), nto_procfs_target::resume(), procfs_target::resume(), ravenscar_thread_target::resume(), record_btrace_target::resume(), record_full_target::resume(), remote_target::resume(), sol_thread_target::resume(), windows_nat_target::resume(), resume_1(), fbsd_nat_target::resume_one_process(), run_inferior_call(), rw_common(), s390_inferior_tid(), scoped_restore_current_inferior_for_memory::scoped_restore_current_inferior_for_memory(), scoped_restore_current_thread::scoped_restore_current_thread(), scoped_switch_fork_info::scoped_switch_fork_info(), set_enable_mach_exceptions(), remote_target::set_general_process(), set_step_frame(), set_step_info(), setup_inferior(), siginfo_make_value(), sparc32obsd_collect_uthread(), sparc32obsd_supply_uthread(), sparc64obsd_collect_uthread(), sparc64obsd_supply_uthread(), sparc_collect_rwindow(), sparc_fetch_inferior_registers(), sparc_store_inferior_registers(), sparc_supply_rwindow(), sparc_xfer_wcookie(), linux_nat_target::static_tracepoint_markers_by_strid(), stop_context::stop_context(), amd_dbgapi_target::stopped_by_hw_breakpoint(), linux_nat_target::stopped_by_hw_breakpoint(), ravenscar_thread_target::stopped_by_hw_breakpoint(), amd_dbgapi_target::stopped_by_sw_breakpoint(), linux_nat_target::stopped_by_sw_breakpoint(), ravenscar_thread_target::stopped_by_sw_breakpoint(), windows_nat_target::stopped_by_sw_breakpoint(), amd_dbgapi_target::stopped_by_watchpoint(), linux_nat_target::stopped_by_watchpoint(), mips_linux_nat_target::stopped_by_watchpoint(), procfs_target::stopped_by_watchpoint(), ravenscar_thread_target::stopped_by_watchpoint(), s390_linux_nat_target::stopped_by_watchpoint(), aarch64_linux_nat_target::stopped_data_address(), arm_linux_nat_target::stopped_data_address(), ia64_linux_nat_target::stopped_data_address(), linux_nat_target::stopped_data_address(), procfs_target::stopped_data_address(), ravenscar_thread_target::stopped_data_address(), store_altivec_register_aix(), aarch64_linux_nat_target::store_memtags(), bsd_uthread_target::store_registers(), store_regs_user_thread(), store_vsx_register_aix(), switch_to_no_thread(), switch_to_thread_no_regs(), target_announce_detach(), target_mourn_inferior(), target_resume(), target_translate_tls_address(), thread_command(), thread_db_load(), thread_name_command(), thread_num_make_value_helper(), tlb_make_value(), tlb_value_read(), try_thread_db_load(), try_thread_db_load_1(), update_inserted_breakpoint_locations(), update_previous_thread(), update_solib_list(), bsd_uthread_target::update_thread_list(), fbsd_nat_target::update_thread_list(), obsd_nat_target::update_thread_list(), procfs_target::update_thread_list(), ravenscar_thread_target::update_thread_list(), remote_target::update_thread_list(), user_visible_resume_ptid(), validate_registers_access(), bsd_uthread_target::wait(), nto_procfs_target::wait(), watch_command_1(), watchpoint_in_thread_scope(), windows_solib_create_inferior_hook(), write_memory_ptid(), x86_cleanup_dregs(), x86_insert_hw_breakpoint(), x86_insert_watchpoint(), x86_region_ok_for_hw_watchpoint(), x86_remove_hw_breakpoint(), x86_remove_watchpoint(), x86_stopped_by_hw_breakpoint(), x86_stopped_by_watchpoint(), x86_stopped_data_address(), aix_thread_target::xfer_partial(), amd_dbgapi_target::xfer_partial(), fbsd_nat_target::xfer_partial(), inf_ptrace_target::xfer_partial(), linux_nat_target::xfer_partial(), nbsd_nat_target::xfer_partial(), ravenscar_thread_target::xfer_partial(), record_btrace_target::xfer_partial(), remote_target::xfer_partial(), rs6000_nat_target::xfer_partial(), sol_thread_target::xfer_partial(), and rs6000_nat_target::xfer_shared_libraries().

◆ path_var_name

const char path_var_name[] = "PATH"
static

Definition at line 2162 of file infcmd.c.

Referenced by path_command(), and path_info().

◆ stop_stack_dummy

enum stop_stack_kind stop_stack_dummy

◆ stopped_by_random_signal

int stopped_by_random_signal