GDB (xrefs)
Classes | Macros | Typedefs | Functions | Variables
/tmp/gdb-7.10/gdb/infrun.c File Reference
#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)
 

Functions

static void signals_info (char *, int)
 
static void handle_command (char *, int)
 
static void sig_print_info (enum gdb_signal)
 
static void sig_print_header (void)
 
static void resume_cleanups (void *)
 
static int hook_stop_stub (void *)
 
static int restore_selected_frame (void *)
 
static int follow_fork (void)
 
static int follow_fork_inferior (int follow_child, int detach_fork)
 
static void follow_inferior_reset_breakpoints (void)
 
static void set_schedlock_func (char *args, int from_tty, struct cmd_list_element *c)
 
static int currently_stepping (struct thread_info *tp)
 
void _initialize_infrun (void)
 
void nullify_last_target_wait_ptid (void)
 
static void insert_hp_step_resume_breakpoint_at_frame (struct frame_info *)
 
static void insert_step_resume_breakpoint_at_caller (struct frame_info *)
 
static void insert_longjmp_resume_breakpoint (struct gdbarch *, CORE_ADDR)
 
static int maybe_software_singlestep (struct gdbarch *gdbarch, CORE_ADDR pc)
 
static void show_step_stop_if_no_debug (struct ui_file *file, int from_tty, struct cmd_list_element *c, const char *value)
 
static void show_debug_displaced (struct ui_file *file, int from_tty, struct cmd_list_element *c, const char *value)
 
static void show_debug_infrun (struct ui_file *file, int from_tty, struct cmd_list_element *c, const char *value)
 
static void show_disable_randomization (struct ui_file *file, int from_tty, struct cmd_list_element *c, const char *value)
 
static void set_disable_randomization (char *args, int from_tty, struct cmd_list_element *c)
 
static void set_non_stop (char *args, int from_tty, struct cmd_list_element *c)
 
static void show_non_stop (struct ui_file *file, int from_tty, struct cmd_list_element *c, const char *value)
 
static void set_observer_mode (char *args, int from_tty, struct cmd_list_element *c)
 
static void show_observer_mode (struct ui_file *file, int from_tty, struct cmd_list_element *c, const char *value)
 
void update_observer_mode (void)
 
void update_signals_program_target (void)
 
static void set_stop_on_solib_events (char *args, int from_tty, struct cmd_list_element *c)
 
static void show_stop_on_solib_events (struct ui_file *file, int from_tty, struct cmd_list_element *c, const char *value)
 
static void context_switch (ptid_t ptid)
 
void init_thread_stepping_state (struct thread_info *tss)
 
static void show_follow_fork_mode_string (struct ui_file *file, int from_tty, struct cmd_list_element *c, const char *value)
 
static int proceed_after_vfork_done (struct thread_info *thread, void *arg)
 
static void handle_vfork_child_exec_or_exit (int exec)
 
static void show_follow_exec_mode_string (struct ui_file *file, int from_tty, struct cmd_list_element *c, const char *value)
 
static void follow_exec (ptid_t ptid, char *execd_pathname)
 
static void set_step_over_info (struct address_space *aspace, CORE_ADDR address, int nonsteppable_watchpoint_p)
 
static void clear_step_over_info (void)
 
int stepping_past_instruction_at (struct address_space *aspace, CORE_ADDR address)
 
int stepping_past_nonsteppable_watchpoint (void)
 
static int step_over_info_valid_p (void)
 
static struct displaced_step_inferior_stateget_displaced_stepping_state (int pid)
 
static int displaced_step_in_progress (int pid)
 
static struct displaced_step_inferior_stateadd_displaced_stepping_state (int pid)
 
struct displaced_step_closureget_displaced_step_closure_by_addr (CORE_ADDR addr)
 
static void remove_displaced_stepping_state (int pid)
 
static void infrun_inferior_exit (struct inferior *inf)
 
static void show_can_use_displaced_stepping (struct ui_file *file, int from_tty, struct cmd_list_element *c, const char *value)
 
static int use_displaced_stepping (struct gdbarch *gdbarch)
 
static void displaced_step_clear (struct displaced_step_inferior_state *displaced)
 
static void displaced_step_clear_cleanup (void *arg)
 
void displaced_step_dump_bytes (struct ui_file *file, const gdb_byte *buf, size_t len)
 
static int displaced_step_prepare (ptid_t ptid)
 
static void write_memory_ptid (ptid_t ptid, CORE_ADDR memaddr, const gdb_byte *myaddr, int len)
 
static void displaced_step_restore (struct displaced_step_inferior_state *displaced, ptid_t ptid)
 
static void displaced_step_fixup (ptid_t event_ptid, enum gdb_signal signal)
 
static void infrun_thread_ptid_changed (ptid_t old_ptid, ptid_t new_ptid)
 
static void show_scheduler_mode (struct ui_file *file, int from_tty, struct cmd_list_element *c, const char *value)
 
ptid_t user_visible_resume_ptid (int step)
 
static void do_target_resume (ptid_t resume_ptid, int step, enum gdb_signal sig)
 
void resume (enum gdb_signal sig)
 
static void clear_proceed_status_thread (struct thread_info *tp)
 
void clear_proceed_status (int step)
 
static int thread_still_needs_step_over (struct thread_info *tp)
 
static int schedlock_applies (struct thread_info *tp)
 
static struct thread_infofind_thread_needs_step_over (struct thread_info *except)
 
void proceed (CORE_ADDR addr, enum gdb_signal siggnal)
 
void start_remote (int from_tty)
 
void init_wait_for_inferior (void)
 
static void handle_inferior_event (struct execution_control_state *ecs)
 
static void handle_step_into_function (struct gdbarch *gdbarch, struct execution_control_state *ecs)
 
static void handle_step_into_function_backward (struct gdbarch *gdbarch, struct execution_control_state *ecs)
 
static void handle_signal_stop (struct execution_control_state *ecs)
 
static void check_exception_resume (struct execution_control_state *, struct frame_info *)
 
static void end_stepping_range (struct execution_control_state *ecs)
 
static void stop_waiting (struct execution_control_state *ecs)
 
static void prepare_to_wait (struct execution_control_state *ecs)
 
static void keep_going (struct execution_control_state *ecs)
 
static void process_event_stop_test (struct execution_control_state *ecs)
 
static int switch_back_to_stepped_thread (struct execution_control_state *ecs)
 
static int infrun_thread_stop_requested_callback (struct thread_info *info, void *arg)
 
static void infrun_thread_stop_requested (ptid_t ptid)
 
static void infrun_thread_thread_exit (struct thread_info *tp, int silent)
 
static void delete_thread_infrun_breakpoints (struct thread_info *tp)
 
static void for_each_just_stopped_thread (for_each_just_stopped_thread_callback_func func)
 
static void delete_just_stopped_threads_infrun_breakpoints (void)
 
static void delete_just_stopped_threads_single_step_breakpoints (void)
 
static void delete_just_stopped_threads_infrun_breakpoints_cleanup (void *arg)
 
static void print_target_wait_results (ptid_t waiton_ptid, ptid_t result_ptid, const struct target_waitstatus *ws)
 
void prepare_for_detach (void)
 
void wait_for_inferior (void)
 
static void reinstall_readline_callback_handler_cleanup (void *arg)
 
void fetch_inferior_event (void *client_data)
 
void set_step_info (struct frame_info *frame, struct symtab_and_line sal)
 
static void set_last_target_status (ptid_t ptid, struct target_waitstatus status)
 
void get_last_target_status (ptid_t *ptidp, struct target_waitstatus *status)
 
static void adjust_pc_after_break (struct execution_control_state *ecs)
 
static int stepped_in_from (struct frame_info *frame, struct frame_id step_frame_id)
 
static int handle_syscall_event (struct execution_control_state *ecs)
 
static void fill_in_stop_func (struct gdbarch *gdbarch, struct execution_control_state *ecs)
 
static enum stop_kind get_inferior_stop_soon (ptid_t ptid)
 
static void handle_inferior_event_1 (struct execution_control_state *ecs)
 
static void insert_step_resume_breakpoint_at_sal_1 (struct gdbarch *gdbarch, struct symtab_and_line sr_sal, struct frame_id sr_id, enum bptype sr_type)
 
void insert_step_resume_breakpoint_at_sal (struct gdbarch *gdbarch, struct symtab_and_line sr_sal, struct frame_id sr_id)
 
static void insert_exception_resume_breakpoint (struct thread_info *tp, const struct block *b, struct frame_info *frame, struct symbol *sym)
 
static void insert_exception_resume_from_probe (struct thread_info *tp, const struct bound_probe *probe, struct frame_info *frame)
 
void print_end_stepping_range_reason (struct ui_out *uiout)
 
void print_signal_exited_reason (struct ui_out *uiout, enum gdb_signal siggnal)
 
void print_exited_reason (struct ui_out *uiout, int exitstatus)
 
void print_signal_received_reason (struct ui_out *uiout, enum gdb_signal siggnal)
 
void print_no_history_reason (struct ui_out *uiout)
 
void print_stop_event (struct target_waitstatus *ws)
 
void normal_stop (void)
 
int signal_stop_state (int signo)
 
int signal_print_state (int signo)
 
int signal_pass_state (int signo)
 
static void signal_cache_update (int signo)
 
int signal_stop_update (int signo, int state)
 
int signal_print_update (int signo, int state)
 
int signal_pass_update (int signo, int state)
 
void signal_catch_update (const unsigned int *info)
 
static VEC (char_ptr)
 
enum gdb_signal gdb_signal_from_command (int num)
 
static void validate_siginfo_access (void)
 
static void siginfo_value_read (struct value *v)
 
static void siginfo_value_write (struct value *v, struct value *fromval)
 
static struct valuesiginfo_make_value (struct gdbarch *gdbarch, struct internalvar *var, void *ignore)
 
struct infcall_suspend_statesave_infcall_suspend_state (void)
 
void restore_infcall_suspend_state (struct infcall_suspend_state *inf_state)
 
static void do_restore_infcall_suspend_state_cleanup (void *state)
 
struct cleanupmake_cleanup_restore_infcall_suspend_state (struct infcall_suspend_state *inf_state)
 
void discard_infcall_suspend_state (struct infcall_suspend_state *inf_state)
 
struct regcacheget_infcall_suspend_state_regcache (struct infcall_suspend_state *inf_state)
 
struct infcall_control_statesave_infcall_control_state (void)
 
void restore_infcall_control_state (struct infcall_control_state *inf_status)
 
static void do_restore_infcall_control_state_cleanup (void *sts)
 
struct cleanupmake_cleanup_restore_infcall_control_state (struct infcall_control_state *inf_status)
 
void discard_infcall_control_state (struct infcall_control_state *inf_status)
 
static void restore_inferior_ptid (void *arg)
 
struct cleanupsave_inferior_ptid (void)
 
void clear_exit_convenience_vars (void)
 
static void set_exec_direction_func (char *args, int from_tty, struct cmd_list_element *cmd)
 
static void show_exec_direction_func (struct ui_file *out, int from_tty, struct cmd_list_element *cmd, const char *value)
 
static void show_schedule_multiple (struct ui_file *file, int from_tty, struct cmd_list_element *c, const char *value)
 

Variables

int step_stop_if_no_debug = 0
 
int sync_execution = 0
 
static ptid_t previous_inferior_ptid
 
static int detach_fork = 1
 
int debug_displaced = 0
 
unsigned int debug_infrun = 0
 
int disable_randomization = 1
 
int non_stop = 0
 
static int non_stop_1 = 0
 
int observer_mode = 0
 
static int observer_mode_1 = 0
 
static unsigned char * signal_stop
 
static unsigned char * signal_print
 
static unsigned char * signal_program
 
static unsigned char * signal_catch
 
static unsigned char * signal_pass
 
static struct cmd_list_elementstop_command
 
int stop_on_solib_events
 
int stop_after_trap
 
static int stop_print_frame
 
static ptid_t target_last_wait_ptid
 
static struct target_waitstatus target_last_waitstatus
 
static const char follow_fork_mode_child [] = "child"
 
static const char follow_fork_mode_parent [] = "parent"
 
static const char *const follow_fork_mode_kind_names []
 
static const char * follow_fork_mode_string = follow_fork_mode_parent
 
static const char follow_exec_mode_new [] = "new"
 
static const char follow_exec_mode_same [] = "same"
 
static const char *const follow_exec_mode_names []
 
static const char * follow_exec_mode_string = follow_exec_mode_same
 
static struct step_over_info step_over_info
 
static struct displaced_step_inferior_statedisplaced_step_inferior_states
 
static enum auto_boolean can_use_displaced_stepping = AUTO_BOOLEAN_AUTO
 
static const char schedlock_off [] = "off"
 
static const char schedlock_on [] = "on"
 
static const char schedlock_step [] = "step"
 
static const char *const scheduler_enums []
 
static const char * scheduler_mode = schedlock_off
 
int sched_multi = 0
 
static const struct lval_funcs siginfo_value_funcs
 
int execution_direction = EXEC_FORWARD
 
static const char exec_forward [] = "forward"
 
static const char exec_reverse [] = "reverse"
 
static const char * exec_direction = exec_forward
 
static const char *const exec_direction_names []
 
static const struct internalvar_funcs siginfo_funcs
 

Macro Definition Documentation

#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 
)
Value:
do { \
int signum = (nsigs); \
while (signum-- > 0) \
if ((sigs)[signum]) \
(flags)[signum] = 1; \
} while (0)
mach_port_t kern_return_t mach_port_t msgports mach_port_t kern_return_t pid_t pid mach_port_t kern_return_t mach_port_t task mach_port_t kern_return_t int flags
Definition: gnu-nat.c:1885

Definition at line 297 of file infrun.c.

Referenced by handle_command().

#define UNSET_SIGS (   nsigs,
  sigs,
  flags 
)
Value:
do { \
int signum = (nsigs); \
while (signum-- > 0) \
if ((sigs)[signum]) \
(flags)[signum] = 0; \
} while (0)
mach_port_t kern_return_t mach_port_t msgports mach_port_t kern_return_t pid_t pid mach_port_t kern_return_t mach_port_t task mach_port_t kern_return_t int flags
Definition: gnu-nat.c:1885

Definition at line 305 of file infrun.c.

Referenced by handle_command().

Typedef Documentation

typedef void(* for_each_just_stopped_thread_callback_func) (struct thread_info *tp)

Definition at line 2985 of file infrun.c.

Function Documentation

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 struct displaced_step_inferior_state* add_displaced_stepping_state ( int  pid)
static
static void adjust_pc_after_break ( struct execution_control_state ecs)
static
static void check_exception_resume ( struct execution_control_state ecs,
struct frame_info frame 
)
static
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)
static void clear_proceed_status_thread ( struct thread_info tp)
static
static void clear_step_over_info ( void  )
static
static void context_switch ( ptid_t  ptid)
static
static int currently_stepping ( struct thread_info tp)
static
static void delete_just_stopped_threads_infrun_breakpoints ( void  )
static
static void delete_just_stopped_threads_infrun_breakpoints_cleanup ( void *  arg)
static
static void delete_just_stopped_threads_single_step_breakpoints ( void  )
static
static void delete_thread_infrun_breakpoints ( struct thread_info tp)
static
void discard_infcall_control_state ( struct infcall_control_state inf_status)
void discard_infcall_suspend_state ( struct infcall_suspend_state inf_state)
static void displaced_step_clear ( struct displaced_step_inferior_state displaced)
static
static void displaced_step_clear_cleanup ( void *  arg)
static

Definition at line 1606 of file infrun.c.

References displaced_step_clear().

Referenced by displaced_step_fixup(), and displaced_step_prepare().

void displaced_step_dump_bytes ( struct ui_file file,
const gdb_byte buf,
size_t  len 
)
static void displaced_step_fixup ( ptid_t  event_ptid,
enum gdb_signal  signal 
)
static
static int displaced_step_in_progress ( int  pid)
static
static int displaced_step_prepare ( ptid_t  ptid)
static
static void displaced_step_restore ( struct displaced_step_inferior_state displaced,
ptid_t  ptid 
)
static
static void do_restore_infcall_control_state_cleanup ( void *  sts)
static

Definition at line 7491 of file infrun.c.

References restore_infcall_control_state().

Referenced by make_cleanup_restore_infcall_control_state().

static void do_restore_infcall_suspend_state_cleanup ( void *  state)
static

Definition at line 7350 of file infrun.c.

References restore_infcall_suspend_state().

Referenced by make_cleanup_restore_infcall_suspend_state().

static void do_target_resume ( ptid_t  resume_ptid,
int  step,
enum gdb_signal  sig 
)
static
static void end_stepping_range ( struct execution_control_state ecs)
static
void fetch_inferior_event ( void *  client_data)
static void fill_in_stop_func ( struct gdbarch gdbarch,
struct execution_control_state ecs 
)
static
static struct thread_info* find_thread_needs_step_over ( struct thread_info except)
static
static void follow_exec ( ptid_t  ptid,
char *  execd_pathname 
)
static
static int follow_fork ( void  )
static
static int follow_fork_inferior ( int  follow_child,
int  detach_fork 
)
static
static void follow_inferior_reset_breakpoints ( void  )
static
static void for_each_just_stopped_thread ( for_each_just_stopped_thread_callback_func  func)
static
enum gdb_signal gdb_signal_from_command ( int  num)

Definition at line 7096 of file infrun.c.

References _, and error().

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)
static struct displaced_step_inferior_state* get_displaced_stepping_state ( int  pid)
static
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().

static enum stop_kind get_inferior_stop_soon ( ptid_t  ptid)
static
void get_last_target_status ( ptid_t ptidp,
struct target_waitstatus status 
)
static void handle_command ( char *  args,
int  from_tty 
)
static
static void handle_inferior_event ( struct execution_control_state ecs)
static
static void handle_inferior_event_1 ( struct execution_control_state ecs)
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 void handle_signal_stop ( struct execution_control_state ecs)
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 void handle_step_into_function ( struct gdbarch gdbarch,
struct execution_control_state ecs 
)
static
static void handle_step_into_function_backward ( struct gdbarch gdbarch,
struct execution_control_state ecs 
)
static
static int handle_syscall_event ( struct execution_control_state ecs)
static
static void handle_vfork_child_exec_or_exit ( int  exec)
static
static int hook_stop_stub ( void *  cmd)
static

Definition at line 6773 of file infrun.c.

References execute_cmd_pre_hook().

Referenced by normal_stop().

static void infrun_inferior_exit ( struct inferior inf)
static

Definition at line 1547 of file infrun.c.

References inferior::pid, and remove_displaced_stepping_state().

Referenced by _initialize_infrun().

static void infrun_thread_ptid_changed ( ptid_t  old_ptid,
ptid_t  new_ptid 
)
static
static void infrun_thread_stop_requested ( ptid_t  ptid)
static
static int infrun_thread_stop_requested_callback ( struct thread_info info,
void *  arg 
)
static
static void infrun_thread_thread_exit ( struct thread_info tp,
int  silent 
)
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)
void init_wait_for_inferior ( void  )
static void insert_exception_resume_breakpoint ( struct thread_info tp,
const struct block b,
struct frame_info frame,
struct symbol sym 
)
static
static void insert_exception_resume_from_probe ( struct thread_info tp,
const struct bound_probe probe,
struct frame_info frame 
)
static
static void insert_hp_step_resume_breakpoint_at_frame ( struct frame_info return_frame)
static
static void insert_longjmp_resume_breakpoint ( struct gdbarch gdbarch,
CORE_ADDR  pc 
)
static
static void insert_step_resume_breakpoint_at_caller ( struct frame_info next_frame)
static
void insert_step_resume_breakpoint_at_sal ( struct gdbarch gdbarch,
struct symtab_and_line  sr_sal,
struct frame_id  sr_id 
)
static void insert_step_resume_breakpoint_at_sal_1 ( struct gdbarch gdbarch,
struct symtab_and_line  sr_sal,
struct frame_id  sr_id,
enum bptype  sr_type 
)
static
static void keep_going ( struct execution_control_state ecs)
static
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().

static int maybe_software_singlestep ( struct gdbarch gdbarch,
CORE_ADDR  pc 
)
static
void normal_stop ( void  )
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  )
static void prepare_to_wait ( struct execution_control_state ecs)
static
void print_end_stepping_range_reason ( struct ui_out uiout)
void print_exited_reason ( struct ui_out uiout,
int  exitstatus 
)
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 
)
void print_signal_received_reason ( struct ui_out uiout,
enum gdb_signal  siggnal 
)
void print_stop_event ( struct target_waitstatus ws)
static void print_target_wait_results ( ptid_t  waiton_ptid,
ptid_t  result_ptid,
const struct target_waitstatus ws 
)
static
void proceed ( CORE_ADDR  addr,
enum gdb_signal  siggnal 
)
static int proceed_after_vfork_done ( struct thread_info thread,
void *  arg 
)
static
static void process_event_stop_test ( struct execution_control_state ecs)
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 void reinstall_readline_callback_handler_cleanup ( void *  arg)
static
static void remove_displaced_stepping_state ( int  pid)
static
void restore_infcall_control_state ( struct infcall_control_state inf_status)
void restore_infcall_suspend_state ( struct infcall_suspend_state inf_state)
static void restore_inferior_ptid ( void *  arg)
static

Definition at line 7525 of file infrun.c.

References cleanup::arg, inferior_ptid, and xfree().

Referenced by save_inferior_ptid().

static int restore_selected_frame ( void *  args)
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 void resume_cleanups ( void *  ignore)
static
struct infcall_control_state* save_infcall_control_state ( void  )
struct infcall_suspend_state* save_infcall_suspend_state ( void  )
struct cleanup* save_inferior_ptid ( void  )
static int schedlock_applies ( struct thread_info tp)
static
static void set_disable_randomization ( char *  args,
int  from_tty,
struct cmd_list_element c 
)
static

Definition at line 169 of file infrun.c.

References _, error(), and target_supports_disable_randomization().

Referenced by _initialize_infrun().

static void set_exec_direction_func ( char *  args,
int  from_tty,
struct cmd_list_element cmd 
)
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 void set_last_target_status ( ptid_t  ptid,
struct target_waitstatus  status 
)
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 void set_non_stop ( char *  args,
int  from_tty,
struct cmd_list_element c 
)
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 void set_observer_mode ( char *  args,
int  from_tty,
struct cmd_list_element c 
)
static
static void set_schedlock_func ( char *  args,
int  from_tty,
struct cmd_list_element c 
)
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 
)
static void set_step_over_info ( struct address_space aspace,
CORE_ADDR  address,
int  nonsteppable_watchpoint_p 
)
static
static void set_stop_on_solib_events ( char *  args,
int  from_tty,
struct cmd_list_element c 
)
static

Definition at line 338 of file infrun.c.

References update_solib_breakpoints().

Referenced by _initialize_infrun().

static void show_can_use_displaced_stepping ( struct ui_file file,
int  from_tty,
struct cmd_list_element c,
const char *  value 
)
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 void show_debug_displaced ( struct ui_file file,
int  from_tty,
struct cmd_list_element c,
const char *  value 
)
static

Definition at line 134 of file infrun.c.

References _, and fprintf_filtered().

Referenced by _initialize_infrun().

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

Definition at line 142 of file infrun.c.

References _, and fprintf_filtered().

Referenced by _initialize_infrun().

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

Definition at line 154 of file infrun.c.

References _, fprintf_filtered(), fputs_filtered(), and target_supports_disable_randomization().

Referenced by _initialize_infrun().

static void show_exec_direction_func ( struct ui_file out,
int  from_tty,
struct cmd_list_element cmd,
const char *  value 
)
static

Definition at line 7590 of file infrun.c.

References _, EXEC_FORWARD, EXEC_REVERSE, fprintf_filtered(), and internal_error().

Referenced by _initialize_infrun().

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

Definition at line 1045 of file infrun.c.

References _, and fprintf_filtered().

Referenced by _initialize_infrun().

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

Definition at line 381 of file infrun.c.

References _, and fprintf_filtered().

Referenced by _initialize_infrun().

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

Definition at line 197 of file infrun.c.

References _, and fprintf_filtered().

Referenced by _initialize_infrun().

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

Definition at line 249 of file infrun.c.

References _, and fprintf_filtered().

Referenced by _initialize_infrun().

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

Definition at line 7608 of file infrun.c.

References _, and fprintf_filtered().

Referenced by _initialize_infrun().

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

Definition at line 1974 of file infrun.c.

References _, and fprintf_filtered().

Referenced by _initialize_infrun().

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

Definition at line 109 of file infrun.c.

References _, and fprintf_filtered().

Referenced by _initialize_infrun().

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

Definition at line 344 of file infrun.c.

References _, and fprintf_filtered().

Referenced by _initialize_infrun().

static void sig_print_header ( void  )
static

Definition at line 6859 of file infrun.c.

References _, and printf_filtered().

Referenced by handle_command(), and signals_info().

static void sig_print_info ( enum gdb_signal  oursig)
static
static struct value* siginfo_make_value ( struct gdbarch gdbarch,
struct internalvar var,
void *  ignore 
)
static
static void siginfo_value_read ( struct value v)
static
static void siginfo_value_write ( struct value v,
struct value fromval 
)
static
static void signal_cache_update ( int  signo)
static
void signal_catch_update ( const unsigned int info)
int signal_pass_state ( int  signo)
int signal_pass_update ( int  signo,
int  state 
)

Definition at line 6835 of file infrun.c.

References signal_cache_update(), and signal_program.

Referenced by nto_initialize_signals().

int signal_print_state ( int  signo)

Definition at line 6786 of file infrun.c.

References signal_print.

int signal_print_update ( int  signo,
int  state 
)

Definition at line 6825 of file infrun.c.

References signal_cache_update(), and signal_print.

Referenced by check_thread_signals(), and nto_initialize_signals().

int signal_stop_state ( int  signo)

Definition at line 6780 of file infrun.c.

References signal_stop.

Referenced by handle_signal_stop().

int signal_stop_update ( int  signo,
int  state 
)

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 void signals_info ( char *  signum_exp,
int  from_tty 
)
static
void start_remote ( int  from_tty)
static int step_over_info_valid_p ( void  )
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 int stepped_in_from ( struct frame_info frame,
struct frame_id  step_frame_id 
)
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 
)
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 void stop_waiting ( struct execution_control_state ecs)
static
static int switch_back_to_stepped_thread ( struct execution_control_state ecs)
static
static int thread_still_needs_step_over ( struct thread_info tp)
static
void update_observer_mode ( void  )
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().

static int use_displaced_stepping ( struct gdbarch gdbarch)
static
ptid_t user_visible_resume_ptid ( int  step)
static void validate_siginfo_access ( void  )
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 VEC ( char_ptr  )
static

Definition at line 7067 of file infrun.c.

References VEC_free, and VEC_merge.

void wait_for_inferior ( void  )
static void write_memory_ptid ( ptid_t  ptid,
CORE_ADDR  memaddr,
const gdb_byte myaddr,
int  len 
)
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().

Variable Documentation

enum auto_boolean can_use_displaced_stepping = AUTO_BOOLEAN_AUTO
static
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
int detach_fork = 1
static
int disable_randomization = 1
struct displaced_step_inferior_state* displaced_step_inferior_states
static

Definition at line 1448 of file infrun.c.

Referenced by add_displaced_stepping_state(), and remove_displaced_stepping_state().

const char* exec_direction = exec_forward
static

Definition at line 7564 of file infrun.c.

const char* const exec_direction_names[]
static
Initial value:
= {
NULL
}
static const char exec_reverse[]
Definition: infrun.c:7563
static const char exec_forward[]
Definition: infrun.c:7562

Definition at line 7565 of file infrun.c.

const char exec_forward[] = "forward"
static

Definition at line 7562 of file infrun.c.

Referenced by set_exec_direction_func().

const char exec_reverse[] = "reverse"
static

Definition at line 7563 of file infrun.c.

int execution_direction = EXEC_FORWARD
const char* const follow_exec_mode_names[]
static
Initial value:
=
{
NULL,
}
static const char follow_exec_mode_same[]
Definition: infrun.c:1035
static const char follow_exec_mode_new[]
Definition: infrun.c:1034

Definition at line 1036 of file infrun.c.

Referenced by _initialize_infrun().

const char follow_exec_mode_new[] = "new"
static

Definition at line 1034 of file infrun.c.

Referenced by follow_exec().

const char follow_exec_mode_same[] = "same"
static

Definition at line 1035 of file infrun.c.

const char* follow_exec_mode_string = follow_exec_mode_same
static

Definition at line 1043 of file infrun.c.

Referenced by _initialize_infrun(), and follow_exec().

const char follow_fork_mode_child[] = "child"
static

Definition at line 370 of file infrun.c.

Referenced by follow_fork(), and handle_inferior_event_1().

const char* const follow_fork_mode_kind_names[]
static
Initial value:
= {
NULL
}
static const char follow_fork_mode_parent[]
Definition: infrun.c:371
static const char follow_fork_mode_child[]
Definition: infrun.c:370

Definition at line 373 of file infrun.c.

Referenced by _initialize_infrun().

const char follow_fork_mode_parent[] = "parent"
static

Definition at line 371 of file infrun.c.

const char* follow_fork_mode_string = follow_fork_mode_parent
static

Definition at line 379 of file infrun.c.

Referenced by _initialize_infrun(), follow_fork(), and handle_inferior_event_1().

int non_stop = 0
int non_stop_1 = 0
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().

int observer_mode_1 = 0
static

Definition at line 210 of file infrun.c.

Referenced by _initialize_infrun(), set_observer_mode(), and update_observer_mode().

ptid_t previous_inferior_ptid
static

Definition at line 123 of file infrun.c.

int sched_multi = 0
const char schedlock_off[] = "off"
static

Definition at line 1963 of file infrun.c.

Referenced by set_schedlock_func().

const char schedlock_on[] = "on"
static

Definition at line 1964 of file infrun.c.

Referenced by schedlock_applies(), and user_visible_resume_ptid().

const char schedlock_step[] = "step"
static

Definition at line 1965 of file infrun.c.

Referenced by schedlock_applies(), and user_visible_resume_ptid().

const char* const scheduler_enums[]
static
Initial value:
= {
NULL
}
static const char schedlock_off[]
Definition: infrun.c:1963
static const char schedlock_on[]
Definition: infrun.c:1964
static const char schedlock_step[]
Definition: infrun.c:1965

Definition at line 1966 of file infrun.c.

Referenced by _initialize_infrun().

const char* scheduler_mode = schedlock_off
static
const struct internalvar_funcs siginfo_funcs
static
Initial value:
=
{
NULL,
NULL
}
static struct value * siginfo_make_value(struct gdbarch *gdbarch, struct internalvar *var, void *ignore)
Definition: infrun.c:7229

Definition at line 7617 of file infrun.c.

const struct lval_funcs siginfo_value_funcs
static
Initial value:
=
{
}
static void siginfo_value_write(struct value *v, struct value *fromval)
Definition: infrun.c:7201
static void siginfo_value_read(struct value *v)
Definition: infrun.c:7180

Definition at line 7218 of file infrun.c.

unsigned char* signal_catch
static

Definition at line 290 of file infrun.c.

Referenced by _initialize_infrun(), signal_cache_update(), and signal_catch_update().

unsigned char* signal_pass
static
unsigned char* signal_print
static
unsigned char* signal_program
static
unsigned char* signal_stop
static

Definition at line 1264 of file infrun.c.

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
struct cmd_list_element* stop_command
static

Definition at line 328 of file infrun.c.

int stop_on_solib_events
int stop_print_frame
static
int sync_execution = 0
ptid_t target_last_wait_ptid
static

Definition at line 363 of file infrun.c.

Referenced by get_last_target_status().

struct target_waitstatus target_last_waitstatus
static

Definition at line 364 of file infrun.c.

Referenced by get_last_target_status(), and set_last_target_status().