GDB (xrefs)
Classes | Defines | Typedefs | Enumerations | Functions | Variables
/home/stan/gdb/src/gdb/breakpoint.h File Reference
#include "frame.h"
#include "value.h"
#include "vec.h"
#include "ax.h"
#include "command.h"
#include "break-common.h"

Go to the source code of this file.

Classes

struct  bp_target_info
struct  bp_location_ops
struct  bp_location
struct  breakpoint_ops
struct  breakpoint
struct  watchpoint
struct  tracepoint
struct  bpstat_what
struct  bpstats

Defines

#define BREAKPOINT_MAX   16
#define CATCH_PERMANENT   ((void *) (uintptr_t) 0)
#define CATCH_TEMPORARY   ((void *) (uintptr_t) 1)

Typedefs

typedef struct bp_locationbp_location_p
typedef struct breakpointbreakpoint_p
typedef struct bpstatsbpstat
typedef void(* walk_bp_location_callback )(struct bp_location *, void *)

Enumerations

enum  bptype {
  bp_none = 0, bp_breakpoint, bp_hardware_breakpoint, bp_until,
  bp_finish, bp_watchpoint, bp_hardware_watchpoint, bp_read_watchpoint,
  bp_access_watchpoint, bp_longjmp, bp_longjmp_resume, bp_longjmp_call_dummy,
  bp_exception, bp_exception_resume, bp_step_resume, bp_hp_step_resume,
  bp_watchpoint_scope, bp_call_dummy, bp_std_terminate, bp_shlib_event,
  bp_thread_event, bp_overlay_event, bp_longjmp_master, bp_std_terminate_master,
  bp_exception_master, bp_catchpoint, bp_tracepoint, bp_fast_tracepoint,
  bp_static_tracepoint, bp_dprintf, bp_jit_event, bp_gnu_ifunc_resolver,
  bp_gnu_ifunc_resolver_return
}
enum  enable_state { bp_disabled, bp_enabled, bp_call_disabled, bp_permanent }
enum  bpdisp { disp_del, disp_del_at_next_stop, disp_disable, disp_donttouch }
enum  condition_status { condition_unchanged = 0, condition_modified, condition_updated }
enum  bp_loc_type { bp_loc_software_breakpoint, bp_loc_hardware_breakpoint, bp_loc_hardware_watchpoint, bp_loc_other }
enum  bpstat_signal_value { BPSTAT_SIGNAL_NO = 0, BPSTAT_SIGNAL_HIDE, BPSTAT_SIGNAL_PASS }
enum  watchpoint_triggered { watch_triggered_no = 0, watch_triggered_unknown, watch_triggered_yes }
enum  bpstat_what_main_action {
  BPSTAT_WHAT_KEEP_CHECKING, BPSTAT_WHAT_SINGLE, BPSTAT_WHAT_SET_LONGJMP_RESUME, BPSTAT_WHAT_CLEAR_LONGJMP_RESUME,
  BPSTAT_WHAT_STEP_RESUME, BPSTAT_WHAT_STOP_SILENT, BPSTAT_WHAT_STOP_NOISY, BPSTAT_WHAT_HP_STEP_RESUME
}
enum  stop_stack_kind { STOP_NONE = 0, STOP_STACK_DUMMY, STOP_STD_TERMINATE }
enum  print_stop_action { PRINT_UNKNOWN = -1, PRINT_SRC_AND_LOC, PRINT_SRC_ONLY, PRINT_NOTHING }
enum  bp_print_how { print_it_normal, print_it_noop, print_it_done }
enum  inf_context { inf_starting, inf_running, inf_exited, inf_execd }
enum  breakpoint_here { no_breakpoint_here = 0, ordinary_breakpoint_here, permanent_breakpoint_here }
enum  breakpoint_create_flags { CREATE_BREAKPOINT_FLAGS_INSERTED = 1 << 0 }

Functions

void print_recreate_thread (struct breakpoint *b, struct ui_file *fp)
 DEF_VEC_P (bp_location_p)
int is_breakpoint (const struct breakpoint *bpt)
int is_watchpoint (const struct breakpoint *bpt)
 DEF_VEC_P (breakpoint_p)
void bpstat_clear (bpstat *)
bpstat bpstat_copy (bpstat)
bpstat bpstat_stop_status (struct address_space *aspace, CORE_ADDR pc, ptid_t ptid, const struct target_waitstatus *ws)
struct bpstat_what bpstat_what (bpstat)
bpstat bpstat_find_breakpoint (bpstat, struct breakpoint *)
enum bpstat_signal_value bpstat_explains_signal (bpstat, enum gdb_signal)
int bpstat_causes_stop (bpstat)
int bpstat_should_step (void)
enum print_stop_action bpstat_print (bpstat, int)
int bpstat_num (bpstat *, int *)
void bpstat_do_actions (void)
void bpstat_clear_actions (void)
enum breakpoint_here breakpoint_here_p (struct address_space *, CORE_ADDR)
int moribund_breakpoint_here_p (struct address_space *, CORE_ADDR)
int breakpoint_inserted_here_p (struct address_space *, CORE_ADDR)
int regular_breakpoint_inserted_here_p (struct address_space *, CORE_ADDR)
int software_breakpoint_inserted_here_p (struct address_space *, CORE_ADDR)
int hardware_watchpoint_inserted_in_range (struct address_space *, CORE_ADDR addr, ULONGEST len)
int breakpoint_thread_match (struct address_space *, CORE_ADDR, ptid_t)
void until_break_command (char *, int, int)
void init_bp_location (struct bp_location *loc, const struct bp_location_ops *ops, struct breakpoint *owner)
void update_breakpoint_locations (struct breakpoint *b, struct symtabs_and_lines sals, struct symtabs_and_lines sals_end)
void breakpoint_re_set (void)
void breakpoint_re_set_thread (struct breakpoint *)
struct breakpointset_momentary_breakpoint (struct gdbarch *, struct symtab_and_line, struct frame_id, enum bptype)
struct breakpointset_momentary_breakpoint_at_pc (struct gdbarch *, CORE_ADDR pc, enum bptype type)
struct breakpointclone_momentary_breakpoint (struct breakpoint *bpkt)
void set_ignore_count (int, int, int)
void breakpoint_init_inferior (enum inf_context)
struct cleanupmake_cleanup_delete_breakpoint (struct breakpoint *)
void delete_breakpoint (struct breakpoint *)
void breakpoint_auto_delete (bpstat)
void iterate_over_bp_locations (walk_bp_location_callback)
struct command_linebreakpoint_commands (struct breakpoint *b)
const char * bpdisp_text (enum bpdisp disp)
void break_command (char *, int)
void hbreak_command_wrapper (char *, int)
void thbreak_command_wrapper (char *, int)
void rbreak_command_wrapper (char *, int)
void watch_command_wrapper (char *, int, int)
void awatch_command_wrapper (char *, int, int)
void rwatch_command_wrapper (char *, int, int)
void tbreak_command (char *, int)
void initialize_breakpoint_ops (void)
void add_catch_command (char *name, char *docstring, void(*sfunc)(char *args, int from_tty, struct cmd_list_element *command), completer_ftype *completer, void *user_data_catch, void *user_data_tcatch)
void init_ada_exception_breakpoint (struct breakpoint *b, struct gdbarch *gdbarch, struct symtab_and_line sal, char *addr_string, const struct breakpoint_ops *ops, int tempflag, int enabled, int from_tty)
void init_catchpoint (struct breakpoint *b, struct gdbarch *gdbarch, int tempflag, char *cond_string, const struct breakpoint_ops *ops)
void install_breakpoint (int internal, struct breakpoint *b, int update_gll)
int create_breakpoint (struct gdbarch *gdbarch, char *arg, char *cond_string, int thread, char *extra_string, int parse_arg, int tempflag, enum bptype wanted_type, int ignore_count, enum auto_boolean pending_break_support, const struct breakpoint_ops *ops, int from_tty, int enabled, int internal, unsigned flags)
void insert_breakpoints (void)
int remove_breakpoints (void)
int remove_breakpoints_pid (int pid)
int reattach_breakpoints (int)
void update_breakpoints_after_exec (void)
int detach_breakpoints (ptid_t ptid)
void breakpoint_program_space_exit (struct program_space *pspace)
void set_longjmp_breakpoint (struct thread_info *tp, struct frame_id frame)
void delete_longjmp_breakpoint (int thread)
void delete_longjmp_breakpoint_at_next_stop (int thread)
struct breakpointset_longjmp_breakpoint_for_call_dummy (void)
void check_longjmp_breakpoint_for_call_dummy (int thread)
void enable_overlay_breakpoints (void)
void disable_overlay_breakpoints (void)
void set_std_terminate_breakpoint (void)
void delete_std_terminate_breakpoint (void)
void disable_watchpoints_before_interactive_call_start (void)
void enable_watchpoints_after_interactive_call_stop (void)
void disable_breakpoints_before_startup (void)
void enable_breakpoints_after_startup (void)
enum command_control_type commands_from_control_command (char *arg, struct command_line *cmd)
void clear_breakpoint_hit_counts (void)
struct breakpointget_breakpoint (int num)
void disable_current_display (void)
void do_displays (void)
void disable_display (int)
void clear_displays (void)
void disable_breakpoint (struct breakpoint *)
void enable_breakpoint (struct breakpoint *)
void breakpoint_set_commands (struct breakpoint *b, struct command_line *commands)
void breakpoint_set_silent (struct breakpoint *b, int silent)
void breakpoint_set_thread (struct breakpoint *b, int thread)
void breakpoint_set_task (struct breakpoint *b, int task)
void mark_breakpoints_out (void)
void make_breakpoint_permanent (struct breakpoint *)
struct breakpointcreate_jit_event_breakpoint (struct gdbarch *, CORE_ADDR)
struct breakpointcreate_solib_event_breakpoint (struct gdbarch *, CORE_ADDR)
struct breakpointcreate_thread_event_breakpoint (struct gdbarch *, CORE_ADDR)
void remove_jit_event_breakpoints (void)
void remove_solib_event_breakpoints (void)
void remove_thread_event_breakpoints (void)
void disable_breakpoints_in_shlibs (void)
int is_catchpoint (struct breakpoint *)
void add_solib_catchpoint (char *arg, int is_load, int is_temp, int enabled)
void delete_command (char *arg, int from_tty)
void insert_single_step_breakpoint (struct gdbarch *, struct address_space *, CORE_ADDR)
int single_step_breakpoints_inserted (void)
void remove_single_step_breakpoints (void)
void cancel_single_step_breakpoints (void)
void * deprecated_insert_raw_breakpoint (struct gdbarch *, struct address_space *, CORE_ADDR)
int deprecated_remove_raw_breakpoint (struct gdbarch *, void *)
int watchpoints_triggered (struct target_waitstatus *)
void breakpoint_xfer_memory (gdb_byte *readbuf, gdb_byte *writebuf, const gdb_byte *writebuf_org, ULONGEST memaddr, LONGEST len)
int breakpoints_always_inserted_mode (void)
void breakpoint_retire_moribund (void)
void set_breakpoint_condition (struct breakpoint *b, char *exp, int from_tty)
int catch_syscall_enabled (void)
int catching_syscall_number (int syscall_number)
struct tracepointget_tracepoint (int num)
struct tracepointget_tracepoint_by_number_on_target (int num)
struct tracepointget_tracepoint_by_number (char **arg, struct get_number_or_range_state *state, int optional_p)
 VEC (breakpoint_p)*all_tracepoints(void)
int is_tracepoint (const struct breakpoint *b)
void check_tracepoint_command (char *line, void *closure)
void start_rbreak_breakpoints (void)
void end_rbreak_breakpoints (void)
struct breakpointiterate_over_breakpoints (int(*)(struct breakpoint *, void *), void *)
int pc_at_non_inline_function (struct address_space *aspace, CORE_ADDR pc, const struct target_waitstatus *ws)
int user_breakpoint_p (struct breakpoint *)
struct gdbarchget_sal_arch (struct symtab_and_line sal)
void breakpoint_free_objfile (struct objfile *objfile)
char * ep_parse_optional_if_clause (char **arg)

Variables

int target_exact_watchpoints
struct breakpoint_ops base_breakpoint_ops
struct breakpoint_ops bkpt_breakpoint_ops
struct breakpoint_ops tracepoint_breakpoint_ops
struct breakpoint_ops dprintf_breakpoint_ops

Define Documentation

#define BREAKPOINT_MAX   16
#define CATCH_PERMANENT   ((void *) (uintptr_t) 0)
#define CATCH_TEMPORARY   ((void *) (uintptr_t) 1)

Typedef Documentation

typedef struct bp_location* bp_location_p

Definition at line 637 of file breakpoint.h.

typedef struct bpstats* bpstat

Definition at line 870 of file breakpoint.h.

typedef struct breakpoint* breakpoint_p

Definition at line 863 of file breakpoint.h.

typedef void(* walk_bp_location_callback)(struct bp_location *, void *)

Definition at line 1187 of file breakpoint.h.


Enumeration Type Documentation

Enumerator:
bp_loc_software_breakpoint 
bp_loc_hardware_breakpoint 
bp_loc_hardware_watchpoint 
bp_loc_other 

Definition at line 290 of file breakpoint.h.

Enumerator:
print_it_normal 
print_it_noop 
print_it_done 

Definition at line 1049 of file breakpoint.h.

enum bpdisp
Enumerator:
disp_del 
disp_del_at_next_stop 
disp_disable 
disp_donttouch 

Definition at line 210 of file breakpoint.h.

Enumerator:
BPSTAT_SIGNAL_NO 
BPSTAT_SIGNAL_HIDE 
BPSTAT_SIGNAL_PASS 

Definition at line 477 of file breakpoint.h.

Enumerator:
BPSTAT_WHAT_KEEP_CHECKING 
BPSTAT_WHAT_SINGLE 
BPSTAT_WHAT_SET_LONGJMP_RESUME 
BPSTAT_WHAT_CLEAR_LONGJMP_RESUME 
BPSTAT_WHAT_STEP_RESUME 
BPSTAT_WHAT_STOP_SILENT 
BPSTAT_WHAT_STOP_NOISY 
BPSTAT_WHAT_HP_STEP_RESUME 

Definition at line 900 of file breakpoint.h.

enum bptype
Enumerator:
bp_none 
bp_breakpoint 
bp_hardware_breakpoint 
bp_until 
bp_finish 
bp_watchpoint 
bp_hardware_watchpoint 
bp_read_watchpoint 
bp_access_watchpoint 
bp_longjmp 
bp_longjmp_resume 
bp_longjmp_call_dummy 
bp_exception 
bp_exception_resume 
bp_step_resume 
bp_hp_step_resume 
bp_watchpoint_scope 
bp_call_dummy 
bp_std_terminate 
bp_shlib_event 
bp_thread_event 
bp_overlay_event 
bp_longjmp_master 
bp_std_terminate_master 
bp_exception_master 
bp_catchpoint 
bp_tracepoint 
bp_fast_tracepoint 
bp_static_tracepoint 
bp_dprintf 
bp_jit_event 
bp_gnu_ifunc_resolver 
bp_gnu_ifunc_resolver_return 

Definition at line 55 of file breakpoint.h.

Enumerator:
CREATE_BREAKPOINT_FLAGS_INSERTED 

Definition at line 1261 of file breakpoint.h.

Enumerator:
no_breakpoint_here 
ordinary_breakpoint_here 
permanent_breakpoint_here 

Definition at line 1121 of file breakpoint.h.

Enumerator:
condition_unchanged 
condition_modified 
condition_updated 

Definition at line 222 of file breakpoint.h.

Enumerator:
bp_disabled 
bp_enabled 
bp_call_disabled 
bp_permanent 

Definition at line 185 of file breakpoint.h.

Enumerator:
inf_starting 
inf_running 
inf_exited 
inf_execd 

Definition at line 1111 of file breakpoint.h.

Enumerator:
PRINT_UNKNOWN 
PRINT_SRC_AND_LOC 
PRINT_SRC_ONLY 
PRINT_NOTHING 

Definition at line 981 of file breakpoint.h.

Enumerator:
STOP_NONE 
STOP_STACK_DUMMY 
STOP_STD_TERMINATE 

Definition at line 951 of file breakpoint.h.

Enumerator:
watch_triggered_no 
watch_triggered_unknown 
watch_triggered_yes 

Definition at line 624 of file breakpoint.h.


Function Documentation

void add_catch_command ( char *  name,
char *  docstring,
void(*)(char *args, int from_tty, struct cmd_list_element *command)  sfunc,
completer_ftype *  completer,
void *  user_data_catch,
void *  user_data_tcatch 
)
void add_solib_catchpoint ( char *  arg,
int  is_load,
int  is_temp,
int  enabled 
)
void awatch_command_wrapper ( char *  ,
int  ,
int   
)

Definition at line 11346 of file breakpoint.c.

References hw_access, and watch_command_1().

Referenced by bppy_init(), and mi_cmd_break_watch().

const char* bpdisp_text ( enum bpdisp  disp)

Definition at line 5637 of file breakpoint.c.

References bpstats::next, and bpstats::stop.

Referenced by bpstat_stop_status(), and handle_inferior_event().

void bpstat_clear ( bpstat )
void bpstat_clear_actions ( void  )
void bpstat_do_actions ( void  )
enum bpstat_signal_value bpstat_explains_signal ( bpstat  ,
enum  gdb_signal 
)

Definition at line 4195 of file breakpoint.c.

References bpstats::breakpoint_at, and bpstats::next.

Referenced by finish_command_continuation().

int bpstat_num ( bpstat ,
int  
)

Definition at line 4252 of file breakpoint.c.

References bpstats::next, and breakpoint::number.

Referenced by continue_command(), and program_info().

int bpstat_should_step ( void  )

Definition at line 5626 of file breakpoint.c.

References ALL_BREAKPOINTS, bp_watchpoint, breakpoint::loc, and breakpoint::type.

Referenced by currently_stepping(), proceed(), and resume().

bpstat bpstat_stop_status ( struct address_space aspace,
CORE_ADDR  pc,
ptid_t  ptid,
const struct target_waitstatus ws 
)
struct bpstat_what bpstat_what ( bpstat  ) [read]
void break_command ( char *  ,
int   
)

Definition at line 9871 of file breakpoint.c.

References break_command_1().

Referenced by mi_cmd_break_commands(), and rbreak_command().

struct command_line* breakpoint_commands ( struct breakpoint b) [read]
void breakpoint_free_objfile ( struct objfile objfile)

Definition at line 15784 of file breakpoint.c.

References ALL_BP_LOCATIONS, symtab::objfile, and bp_location::symtab.

Referenced by free_objfile().

void breakpoint_init_inferior ( enum  inf_context)
void breakpoint_program_space_exit ( struct program_space pspace)
void breakpoint_re_set ( void  )
void breakpoint_re_set_thread ( struct breakpoint )
void breakpoint_retire_moribund ( void  )
void breakpoint_set_commands ( struct breakpoint b,
struct command_line commands 
)
void breakpoint_set_silent ( struct breakpoint b,
int  silent 
)

Definition at line 1225 of file breakpoint.c.

References observer_notify_breakpoint_modified(), and breakpoint::silent.

Referenced by bppy_set_silent().

void breakpoint_set_task ( struct breakpoint b,
int  task 
)

Definition at line 1251 of file breakpoint.c.

References observer_notify_breakpoint_modified(), and breakpoint::task.

Referenced by bppy_set_task().

void breakpoint_set_thread ( struct breakpoint b,
int  thread 
)

Definition at line 1238 of file breakpoint.c.

References observer_notify_breakpoint_modified(), and breakpoint::thread.

Referenced by bppy_set_thread().

void breakpoint_xfer_memory ( gdb_byte readbuf,
gdb_byte writebuf,
const gdb_byte writebuf_org,
ULONGEST  memaddr,
LONGEST  len 
)

Definition at line 14973 of file breakpoint.c.

References xfree().

Referenced by handle_inferior_event().

int catching_syscall_number ( int  syscall_number)
void check_tracepoint_command ( char *  line,
void *  closure 
)
void clear_breakpoint_hit_counts ( void  )

Definition at line 656 of file breakpoint.c.

References ALL_BREAKPOINTS, and breakpoint::hit_count.

Referenced by run_command_1().

void clear_displays ( void  )

Definition at line 1578 of file printcmd.c.

References free_display(), and display::next.

Referenced by clear_symtab_users(), and undisplay_command().

struct breakpoint* clone_momentary_breakpoint ( struct breakpoint bpkt) [read]

Definition at line 8826 of file breakpoint.c.

References momentary_breakpoint_from_master(), breakpoint::ops, and breakpoint::type.

Referenced by follow_fork().

enum command_control_type commands_from_control_command ( char *  arg,
struct command_line cmd 
)

Definition at line 1396 of file breakpoint.c.

References commands_command_1(), and simple_control.

Referenced by execute_control_command().

int create_breakpoint ( struct gdbarch gdbarch,
char *  arg,
char *  cond_string,
int  thread,
char *  extra_string,
int  parse_arg,
int  tempflag,
enum bptype  wanted_type,
int  ignore_count,
enum auto_boolean  pending_break_support,
const struct breakpoint_ops ops,
int  from_tty,
int  enabled,
int  internal,
unsigned  flags 
)

Definition at line 9552 of file breakpoint.c.

References _, breakpoint::addr_string, AUTO_BOOLEAN_AUTO, AUTO_BOOLEAN_FALSE, tracepoint::base, bp_breakpoint, bp_disabled, bp_enabled, bp_fast_tracepoint, bp_hardware_breakpoint, bptype_string(), breakpoint_sals_to_pc(), linespec_sals::canonical, check_fast_tracepoint_sals(), breakpoint::cond_string, breakpoint::condition_not_parsed, breakpoint_ops::create_breakpoints_sal, breakpoint_ops::create_sals_from_address, current_program_space, discard_cleanups(), disp_del, disp_donttouch, breakpoint::disposition, do_cleanups(), breakpoint::enable_state, gdb_exception::error, error(), exception_print(), breakpoint::extra_string, find_condition_and_thread(), gdb_assert, GDB_NO_ERROR, gdb_stderr, breakpoint::ignore_count, init_linespec_result(), init_raw_breakpoint_without_location(), init_sal(), install_breakpoint(), is_tracepoint_type(), make_cleanup(), make_cleanup_destroy_linespec_result(), symtabs_and_lines::nelts, NOT_FOUND_ERROR, nquery(), null_cleanup(), symtab_and_line::pc, breakpoint::pspace, gdb_exception::reason, RETURN_ERROR, RETURN_MASK_ALL, linespec_sals::sals, symtabs_and_lines::sals, throw_exception(), TRY_CATCH, update_global_location_list(), VEC_empty, VEC_index, VEC_iterate, VEC_length, VEC_safe_push, warning(), and xfree().

Referenced by bpfinishpy_init(), bppy_init(), break_command_1(), create_tracepoint_from_upload(), dprintf_command(), ftrace_command(), gdb_set_bp(), mi_cmd_break_insert_1(), spu_catch_start(), strace_command(), and trace_command().

struct breakpoint* create_jit_event_breakpoint ( struct gdbarch ,
CORE_ADDR   
) [read]
struct breakpoint* create_solib_event_breakpoint ( struct gdbarch ,
CORE_ADDR   
) [read]
struct breakpoint* create_thread_event_breakpoint ( struct gdbarch ,
CORE_ADDR   
) [read]
void delete_breakpoint ( struct breakpoint )
void delete_command ( char *  arg,
int  from_tty 
)
void delete_longjmp_breakpoint ( int  thread)
void* deprecated_insert_raw_breakpoint ( struct gdbarch ,
struct address_space ,
CORE_ADDR   
)
int deprecated_remove_raw_breakpoint ( struct gdbarch ,
void *   
)
void disable_breakpoint ( struct breakpoint )
void disable_current_display ( void  )

Definition at line 1851 of file printcmd.c.

References _, current_display_number, disable_display(), fprintf_unfiltered(), and gdb_stderr.

Referenced by normal_stop().

void disable_display ( int  )

Definition at line 1837 of file printcmd.c.

References _, display::enabled_p, display::next, display::number, and printf_unfiltered().

Referenced by disable_current_display().

void disable_overlay_breakpoints ( void  )
void do_displays ( void  )

Definition at line 1825 of file printcmd.c.

References do_one_display(), and display::next.

Referenced by display_command(), normal_stop(), and tfind_1().

void enable_breakpoint ( struct breakpoint )
void enable_overlay_breakpoints ( void  )
void end_rbreak_breakpoints ( void  )

Definition at line 648 of file breakpoint.c.

References rbreak_start_breakpoint_count.

Referenced by do_end_rbreak_breakpoints().

char* ep_parse_optional_if_clause ( char **  arg)

Definition at line 11505 of file breakpoint.c.

References skip_spaces().

Referenced by catch_exception_command_1(), catch_exec_command_1(), and catch_fork_command_1().

struct breakpoint* get_breakpoint ( int  num) [read]
struct gdbarch* get_sal_arch ( struct symtab_and_line  sal) [read]
struct tracepoint* get_tracepoint ( int  num) [read]
struct tracepoint* get_tracepoint_by_number ( char **  arg,
struct get_number_or_range_state state,
int  optional_p 
) [read]

Definition at line 15422 of file breakpoint.c.

References ALL_TRACEPOINTS, and tracepoint::number_on_target.

Referenced by tfile_get_traceframe_address(), and tfind_1().

void hbreak_command_wrapper ( char *  ,
int   
)
void init_ada_exception_breakpoint ( struct breakpoint b,
struct gdbarch gdbarch,
struct symtab_and_line  sal,
char *  addr_string,
const struct breakpoint_ops ops,
int  tempflag,
int  enabled,
int  from_tty 
)
void init_bp_location ( struct bp_location loc,
const struct bp_location_ops ops,
struct breakpoint owner 
)
void init_catchpoint ( struct breakpoint b,
struct gdbarch gdbarch,
int  tempflag,
char *  cond_string,
const struct breakpoint_ops ops 
)
void initialize_breakpoint_ops ( void  )

Definition at line 15794 of file breakpoint.c.

References breakpoint_ops::after_condition_true, base_breakpoint_ops, bkpt_base_breakpoint_ops, bkpt_breakpoint_hit(), bkpt_breakpoint_ops, bkpt_create_breakpoints_sal(), bkpt_create_sals_from_address(), bkpt_decode_linespec(), bkpt_insert_location(), bkpt_print_it(), bkpt_print_mention(), bkpt_print_recreate(), bkpt_probe_breakpoint_ops, bkpt_probe_create_sals_from_address(), bkpt_probe_decode_linespec(), bkpt_probe_insert_location(), bkpt_probe_remove_location(), bkpt_re_set(), bkpt_remove_location(), bkpt_resources_needed(), breakpoint_ops::breakpoint_hit, breakpoint_hit_catch_exec(), breakpoint_hit_catch_fork(), breakpoint_hit_catch_solib(), breakpoint_hit_catch_syscall(), breakpoint_hit_catch_vfork(), breakpoint_hit_ranged_breakpoint(), breakpoint_hit_watchpoint(), catch_exec_breakpoint_ops, catch_fork_breakpoint_ops, catch_solib_breakpoint_ops, catch_syscall_breakpoint_ops, catch_vfork_breakpoint_ops, breakpoint_ops::check_status, check_status_catch_solib(), check_status_watchpoint(), breakpoint_ops::create_breakpoints_sal, breakpoint_ops::create_sals_from_address, breakpoint_ops::decode_linespec, dprintf_after_condition_true(), dprintf_breakpoint_ops, dprintf_print_recreate(), dprintf_re_set(), breakpoint_ops::dtor, dtor_catch_exec(), dtor_catch_solib(), dtor_catch_syscall(), dtor_watchpoint(), breakpoint_ops::explains_signal, explains_signal_watchpoint(), insert_catch_exec(), insert_catch_fork(), insert_catch_solib(), insert_catch_syscall(), insert_catch_vfork(), breakpoint_ops::insert_location, insert_masked_watchpoint(), insert_watchpoint(), internal_bkpt_check_status(), internal_bkpt_print_it(), internal_bkpt_print_mention(), internal_bkpt_re_set(), internal_breakpoint_ops, longjmp_bkpt_dtor(), longjmp_breakpoint_ops, masked_watchpoint_breakpoint_ops, momentary_bkpt_check_status(), momentary_bkpt_print_it(), momentary_bkpt_print_mention(), momentary_bkpt_re_set(), momentary_breakpoint_ops, breakpoint_ops::print_it, print_it_catch_exec(), print_it_catch_fork(), print_it_catch_solib(), print_it_catch_syscall(), print_it_catch_vfork(), print_it_masked_watchpoint(), print_it_ranged_breakpoint(), print_it_watchpoint(), breakpoint_ops::print_mention, print_mention_catch_exec(), print_mention_catch_fork(), print_mention_catch_solib(), print_mention_catch_syscall(), print_mention_catch_vfork(), print_mention_masked_watchpoint(), print_mention_ranged_breakpoint(), print_mention_watchpoint(), breakpoint_ops::print_one, print_one_catch_exec(), print_one_catch_fork(), print_one_catch_solib(), print_one_catch_syscall(), print_one_catch_vfork(), breakpoint_ops::print_one_detail, print_one_detail_masked_watchpoint(), print_one_detail_ranged_breakpoint(), print_one_ranged_breakpoint(), breakpoint_ops::print_recreate, print_recreate_catch_exec(), print_recreate_catch_fork(), print_recreate_catch_solib(), print_recreate_catch_syscall(), print_recreate_catch_vfork(), print_recreate_masked_watchpoint(), print_recreate_ranged_breakpoint(), print_recreate_watchpoint(), ranged_breakpoint_ops, breakpoint_ops::re_set, re_set_watchpoint(), remove_catch_exec(), remove_catch_fork(), remove_catch_solib(), remove_catch_syscall(), remove_catch_vfork(), breakpoint_ops::remove_location, remove_masked_watchpoint(), remove_watchpoint(), breakpoint_ops::resources_needed, resources_needed_masked_watchpoint(), resources_needed_ranged_breakpoint(), resources_needed_watchpoint(), strace_marker_breakpoint_ops, strace_marker_create_breakpoints_sal(), strace_marker_create_sals_from_address(), strace_marker_decode_linespec(), tracepoint_breakpoint_hit(), tracepoint_breakpoint_ops, tracepoint_create_breakpoints_sal(), tracepoint_create_sals_from_address(), tracepoint_decode_linespec(), tracepoint_print_mention(), tracepoint_print_one_detail(), tracepoint_print_recreate(), tracepoint_probe_breakpoint_ops, tracepoint_probe_create_sals_from_address(), tracepoint_probe_decode_linespec(), tracepoint_re_set(), watchpoint_breakpoint_ops, breakpoint_ops::works_in_software_mode, works_in_software_mode_masked_watchpoint(), and works_in_software_mode_watchpoint().

Referenced by initialize_ada_catchpoint_ops(), initialize_signal_catchpoint_ops(), and initialize_throw_catchpoint_ops().

void insert_breakpoints ( void  )
void insert_single_step_breakpoint ( struct gdbarch ,
struct address_space ,
CORE_ADDR   
)
void install_breakpoint ( int  internal,
struct breakpoint b,
int  update_gll 
)
int is_breakpoint ( const struct breakpoint bpt)
int is_catchpoint ( struct breakpoint )

Definition at line 4117 of file breakpoint.c.

References bp_catchpoint, and breakpoint::type.

Referenced by print_one_breakpoint_location().

int is_tracepoint ( const struct breakpoint b)
int is_watchpoint ( const struct breakpoint bpt)

Definition at line 2740 of file breakpoint.c.

References ALL_BP_LOCATIONS.

Referenced by record_full_init_record_breakpoints().

struct breakpoint* iterate_over_breakpoints ( int(*)(struct breakpoint *, void *)  ,
void *   
) [read]
struct cleanup* make_cleanup_delete_breakpoint ( struct breakpoint ) [read]

Definition at line 13675 of file breakpoint.c.

References do_delete_breakpoint_cleanup(), and make_cleanup().

Referenced by finish_forward(), and until_break_command().

void mark_breakpoints_out ( void  )

Definition at line 3929 of file breakpoint.c.

References breakpoint_location_address_match(), and VEC_iterate.

Referenced by adjust_pc_after_break().

int pc_at_non_inline_function ( struct address_space aspace,
CORE_ADDR  pc,
const struct target_waitstatus ws 
)
void print_recreate_thread ( struct breakpoint b,
struct ui_file fp 
)
void rbreak_command_wrapper ( char *  ,
int   
)

Definition at line 3874 of file symtab.c.

References rbreak_command().

int remove_breakpoints ( void  )
void rwatch_command_wrapper ( char *  ,
int  ,
int   
)

Definition at line 11334 of file breakpoint.c.

References hw_read, and watch_command_1().

Referenced by bppy_init(), and mi_cmd_break_watch().

void set_breakpoint_condition ( struct breakpoint b,
char *  exp,
int  from_tty 
)
void set_ignore_count ( int  ,
int  ,
int   
)
void set_longjmp_breakpoint ( struct thread_info tp,
struct frame_id  frame 
)
struct breakpoint* set_momentary_breakpoint ( struct gdbarch ,
struct symtab_and_line  ,
struct frame_id  ,
enum  bptype 
) [read]
struct breakpoint* set_momentary_breakpoint_at_pc ( struct gdbarch ,
CORE_ADDR  pc,
enum bptype  type 
) [read]

Definition at line 14938 of file breakpoint.c.

Referenced by record_full_resume(), and record_full_wait_1().

void start_rbreak_breakpoints ( void  )

Definition at line 639 of file breakpoint.c.

Referenced by rbreak_command().

void tbreak_command ( char *  ,
int   
)

Definition at line 9877 of file breakpoint.c.

References BP_TEMPFLAG, and break_command_1().

Referenced by go_command(), and run_command_1().

void thbreak_command_wrapper ( char *  ,
int   
)
void until_break_command ( char *  ,
int  ,
int   
)
void update_breakpoint_locations ( struct breakpoint b,
struct symtabs_and_lines  sals,
struct symtabs_and_lines  sals_end 
)
void watch_command_wrapper ( char *  ,
int  ,
int   
)

Definition at line 11303 of file breakpoint.c.

References hw_write, and watch_command_1().

Referenced by bppy_init(), and mi_cmd_break_watch().


Variable Documentation

Definition at line 303 of file breakpoint.c.

Referenced by dprintf_command(), initialize_breakpoint_ops(), and mi_cmd_break_insert_1().

Definition at line 521 of file breakpoint.c.

Referenced by _initialize_rs6000_tdep().

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Defines