GDB (xrefs)
Enumerations | Functions | Variables
/tmp/gdb-7.10/gdb/infrun.h File Reference
#include "symtab.h"

Go to the source code of this file.

Enumerations

enum  exec_direction_kind { EXEC_FORWARD, EXEC_REVERSE }
 

Functions

void start_remote (int from_tty)
 
void clear_proceed_status (int step)
 
void proceed (CORE_ADDR, enum gdb_signal)
 
void resume (enum gdb_signal)
 
ptid_t user_visible_resume_ptid (int step)
 
void wait_for_inferior (void)
 
void normal_stop (void)
 
void get_last_target_status (ptid_t *ptid, struct target_waitstatus *status)
 
void prepare_for_detach (void)
 
void fetch_inferior_event (void *)
 
void init_wait_for_inferior (void)
 
void insert_step_resume_breakpoint_at_sal (struct gdbarch *, struct symtab_and_line, struct frame_id)
 
int stepping_past_instruction_at (struct address_space *aspace, CORE_ADDR address)
 
int stepping_past_nonsteppable_watchpoint (void)
 
void set_step_info (struct frame_info *frame, struct symtab_and_line sal)
 
void print_signal_received_reason (struct ui_out *uiout, enum gdb_signal siggnal)
 
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_no_history_reason (struct ui_out *uiout)
 
void print_stop_event (struct target_waitstatus *ws)
 
int signal_stop_state (int)
 
int signal_print_state (int)
 
int signal_pass_state (int)
 
int signal_stop_update (int, int)
 
int signal_print_update (int, int)
 
int signal_pass_update (int, int)
 
void update_signals_program_target (void)
 
void clear_exit_convenience_vars (void)
 
void displaced_step_dump_bytes (struct ui_file *file, const gdb_byte *buf, size_t len)
 
struct displaced_step_closureget_displaced_step_closure_by_addr (CORE_ADDR addr)
 
void update_observer_mode (void)
 
void signal_catch_update (const unsigned int *)
 
enum gdb_signal gdb_signal_from_command (int num)
 

Variables

unsigned int debug_infrun
 
int debug_displaced
 
int stop_on_solib_events
 
int sync_execution
 
int sched_multi
 
int step_stop_if_no_debug
 
int non_stop
 
int disable_randomization
 
int execution_direction
 

Enumeration Type Documentation

Enumerator
EXEC_FORWARD 
EXEC_REVERSE 

Definition at line 65 of file infrun.h.

Function Documentation

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)
void displaced_step_dump_bytes ( struct ui_file file,
const gdb_byte buf,
size_t  len 
)
void fetch_inferior_event ( void *  )
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)
void get_last_target_status ( ptid_t ptid,
struct target_waitstatus status 
)
void init_wait_for_inferior ( void  )
void insert_step_resume_breakpoint_at_sal ( struct gdbarch ,
struct symtab_and_line  ,
struct frame_id   
)
void normal_stop ( void  )
void prepare_for_detach ( void  )
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)
void proceed ( CORE_ADDR  ,
enum  gdb_signal 
)
void resume ( enum  gdb_signal)

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().

void set_step_info ( struct frame_info frame,
struct symtab_and_line  sal 
)
void signal_catch_update ( const unsigned int )
int signal_pass_state ( int  )
int signal_pass_update ( int  ,
int   
)

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  )

Definition at line 6786 of file infrun.c.

References signal_print.

int signal_print_update ( int  ,
int   
)

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  )

Definition at line 6780 of file infrun.c.

References signal_stop.

Referenced by handle_signal_stop().

int signal_stop_update ( int  ,
int   
)

Definition at line 6815 of file infrun.c.

References signal_cache_update(), and signal_stop.

Referenced by check_thread_signals(), and nto_initialize_signals().

void start_remote ( int  from_tty)
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().

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().

ptid_t user_visible_resume_ptid ( int  step)
void wait_for_inferior ( void  )

Variable Documentation

int debug_displaced

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
int disable_randomization
int execution_direction
int non_stop
int sched_multi
int step_stop_if_no_debug

Definition at line 107 of file infrun.c.

Referenced by _initialize_infrun(), process_event_stop_test(), and step_once().

int stop_on_solib_events
int sync_execution