GDB (API)
Defines | Enumerations | Functions | Variables
/home/stan/gdb/src/gdb/breakpoint.c File Reference
#include "defs.h"
#include "arch-utils.h"
#include <ctype.h>
#include "hashtab.h"
#include "symtab.h"
#include "frame.h"
#include "breakpoint.h"
#include "tracepoint.h"
#include "gdbtypes.h"
#include "expression.h"
#include "gdbcore.h"
#include "gdbcmd.h"
#include "value.h"
#include "command.h"
#include "inferior.h"
#include "gdbthread.h"
#include "target.h"
#include "language.h"
#include "gdb_string.h"
#include "gdb-demangle.h"
#include "filenames.h"
#include "annotate.h"
#include "symfile.h"
#include "objfiles.h"
#include "source.h"
#include "linespec.h"
#include "completer.h"
#include "gdb.h"
#include "ui-out.h"
#include "cli/cli-script.h"
#include "gdb_assert.h"
#include "block.h"
#include "solib.h"
#include "solist.h"
#include "observer.h"
#include "exceptions.h"
#include "memattr.h"
#include "ada-lang.h"
#include "top.h"
#include "valprint.h"
#include "jit.h"
#include "xml-syscall.h"
#include "parser-defs.h"
#include "gdb_regex.h"
#include "probe.h"
#include "cli/cli-utils.h"
#include "continuations.h"
#include "stack.h"
#include "skip.h"
#include "ax-gdb.h"
#include "dummy-frame.h"
#include "format.h"
#include "readline/readline.h"
#include "readline/history.h"
#include "mi/mi-common.h"
#include "python/python.h"

Go to the source code of this file.

Defines

#define ALL_BREAKPOINTS(B)   for (B = breakpoint_chain; B; B = B->next)
#define ALL_BREAKPOINTS_SAFE(B, TMP)
#define ALL_BP_LOCATIONS(B, BP_TMP)
#define ALL_BP_LOCATIONS_AT_ADDR(BP_LOCP_TMP, BP_LOCP_START, ADDRESS)
#define ALL_TRACEPOINTS(B)
#define NUM_LONGJMP_NAMES   ARRAY_SIZE(longjmp_names)
#define WP_DELETED   1
#define WP_VALUE_CHANGED   2
#define WP_VALUE_NOT_CHANGED   3
#define WP_IGNORE   4
#define BP_TEMPFLAG   1
#define BP_HARDWAREFLAG   2
#define internal_error_pure_virtual_called()   gdb_assert_not_reached ("pure virtual function called")
#define BREAK_ARGS_HELP(command)   command" [PROBE_MODIFIER] [LOCATION] [thread THREADNUM] [if CONDITION]\n\PROBE_MODIFIER shall be present if the command is to be placed in a\n\probe point. Accepted values are `-probe' (for a generic, automatically\n\guessed probe type) or `-probe-stap' (for a SystemTap probe).\n\LOCATION may be a line number, function name, or \"*\" and an address.\n\If a line number is specified, break at start of code for that line.\n\If a function is specified, break at start of code for that function.\n\If an address is specified, break at that exact address.\n\With no LOCATION, uses current execution address of the selected\n\stack frame. This is useful for breaking on return to a stack frame.\n\\n\THREADNUM is the number from \"info threads\".\n\CONDITION is a boolean expression.\n\\n\Multiple breakpoints at one place are permitted, and useful if their\n\conditions are different.\n\\n\Do \"help breakpoints\" for info on other commands dealing with breakpoints."

Enumerations

enum  exception_event_kind {
  EX_EVENT_THROW, EX_EVENT_RETHROW, EX_EVENT_CATCH, EX_EVENT_THROW,
  EX_EVENT_RETHROW, EX_EVENT_CATCH
}
enum  insertion_state_t { mark_inserted, mark_uninserted }
enum  catch_fork_kind { catch_fork_temporary, catch_vfork_temporary, catch_fork_permanent, catch_vfork_permanent }

Functions

struct breakpointset_raw_breakpoint (struct gdbarch *gdbarch, struct symtab_and_line, enum bptype, const struct breakpoint_ops *)
struct command_linebreakpoint_commands (struct breakpoint *b)
const char * bpdisp_text (enum bpdisp disp)
int breakpoints_always_inserted_mode (void)
void _initialize_breakpoint (void)
 VEC (bp_location_p)
void start_rbreak_breakpoints (void)
void end_rbreak_breakpoints (void)
void clear_breakpoint_hit_counts (void)
struct breakpointget_breakpoint (int num)
void set_breakpoint_condition (struct breakpoint *b, char *exp, int from_tty)
int is_tracepoint (const struct breakpoint *b)
 VEC (breakpoint_p)
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 check_tracepoint_command (char *line, void *closure)
enum command_control_type commands_from_control_command (char *arg, struct command_line *cmd)
void breakpoint_xfer_memory (gdb_byte *readbuf, gdb_byte *writebuf, const gdb_byte *writebuf_org, ULONGEST memaddr, LONGEST len)
int is_breakpoint (const struct breakpoint *bpt)
int is_watchpoint (const struct breakpoint *bpt)
void breakpoint_program_space_exit (struct program_space *pspace)
void insert_breakpoints (void)
void iterate_over_bp_locations (walk_bp_location_callback callback)
int remove_breakpoints (void)
int remove_breakpoints_pid (int pid)
int reattach_breakpoints (int pid)
void update_breakpoints_after_exec (void)
int detach_breakpoints (ptid_t ptid)
void mark_breakpoints_out (void)
void breakpoint_init_inferior (enum inf_context context)
enum breakpoint_here breakpoint_here_p (struct address_space *aspace, CORE_ADDR pc)
int moribund_breakpoint_here_p (struct address_space *aspace, CORE_ADDR pc)
int regular_breakpoint_inserted_here_p (struct address_space *aspace, CORE_ADDR pc)
int breakpoint_inserted_here_p (struct address_space *aspace, CORE_ADDR pc)
int software_breakpoint_inserted_here_p (struct address_space *aspace, CORE_ADDR pc)
int hardware_watchpoint_inserted_in_range (struct address_space *aspace, CORE_ADDR addr, ULONGEST len)
int breakpoint_thread_match (struct address_space *aspace, CORE_ADDR pc, ptid_t ptid)
int is_catchpoint (struct breakpoint *ep)
void bpstat_clear (bpstat *bsp)
bpstat bpstat_copy (bpstat bs)
bpstat bpstat_find_breakpoint (bpstat bsp, struct breakpoint *breakpoint)
enum bpstat_signal_value bpstat_explains_signal (bpstat bsp, enum gdb_signal sig)
int bpstat_num (bpstat *bsp, int *num)
void bpstat_clear_actions (void)
void bpstat_do_actions (void)
enum print_stop_action bpstat_print (bpstat bs, int kind)
int watchpoints_triggered (struct target_waitstatus *ws)
bpstat bpstat_stop_status (struct address_space *aspace, CORE_ADDR bp_addr, ptid_t ptid, const struct target_waitstatus *ws)
struct bpstat_what bpstat_what (bpstat bs_head)
int bpstat_should_step (void)
int bpstat_causes_stop (bpstat bs)
enum gdb_rc gdb_breakpoint_query (struct ui_out *uiout, int bnum, char **error_message)
int user_breakpoint_p (struct breakpoint *b)
void init_bp_location (struct bp_location *loc, const struct bp_location_ops *ops, struct breakpoint *owner)
struct gdbarch * get_sal_arch (struct symtab_and_line sal)
void make_breakpoint_permanent (struct breakpoint *b)
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)
struct breakpointcreate_thread_event_breakpoint (struct gdbarch *gdbarch, CORE_ADDR address)
void remove_thread_event_breakpoints (void)
struct breakpointcreate_jit_event_breakpoint (struct gdbarch *gdbarch, CORE_ADDR address)
void remove_jit_event_breakpoints (void)
void remove_solib_event_breakpoints (void)
struct breakpointcreate_solib_event_breakpoint (struct gdbarch *gdbarch, CORE_ADDR address)
void disable_breakpoints_in_shlibs (void)
void add_solib_catchpoint (char *arg, int is_load, int is_temp, int enabled)
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)
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)
struct breakpointset_momentary_breakpoint (struct gdbarch *gdbarch, struct symtab_and_line sal, struct frame_id frame_id, enum bptype type)
struct breakpointclone_momentary_breakpoint (struct breakpoint *orig)
struct breakpointset_momentary_breakpoint_at_pc (struct gdbarch *gdbarch, CORE_ADDR pc, enum bptype type)
int create_breakpoint (struct gdbarch *gdbarch, char *arg, char *cond_string, int thread, char *extra_string, int parse_arg, int tempflag, enum bptype type_wanted, int ignore_count, enum auto_boolean pending_break_support, const struct breakpoint_ops *ops, int from_tty, int enabled, int internal, unsigned flags)
void resolve_sal_pc (struct symtab_and_line *sal)
void break_command (char *arg, int from_tty)
void tbreak_command (char *arg, int from_tty)
void watch_command_wrapper (char *arg, int from_tty, int internal)
void rwatch_command_wrapper (char *arg, int from_tty, int internal)
void awatch_command_wrapper (char *arg, int from_tty, int internal)
void until_break_command (char *arg, int from_tty, int anywhere)
char * ep_parse_optional_if_clause (char **arg)
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 breakpoint_auto_delete (bpstat bs)
void breakpoint_retire_moribund (void)
void delete_breakpoint (struct breakpoint *bpt)
struct cleanup * make_cleanup_delete_breakpoint (struct breakpoint *b)
void delete_command (char *arg, int from_tty)
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 *b)
void set_ignore_count (int bptnum, int count, int from_tty)
void disable_breakpoint (struct breakpoint *bpt)
void enable_breakpoint (struct breakpoint *bpt)
void * deprecated_insert_raw_breakpoint (struct gdbarch *gdbarch, struct address_space *aspace, CORE_ADDR pc)
int deprecated_remove_raw_breakpoint (struct gdbarch *gdbarch, void *bp)
void insert_single_step_breakpoint (struct gdbarch *gdbarch, struct address_space *aspace, CORE_ADDR next_pc)
int single_step_breakpoints_inserted (void)
void remove_single_step_breakpoints (void)
void cancel_single_step_breakpoints (void)
int catch_syscall_enabled (void)
int catching_syscall_number (int syscall_number)
struct tracepointcreate_tracepoint_from_upload (struct uploaded_tp *utp)
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)
void print_recreate_thread (struct breakpoint *b, struct ui_file *fp)
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)
struct breakpointiterate_over_breakpoints (int(*callback)(struct breakpoint *, void *), void *data)
int pc_at_non_inline_function (struct address_space *aspace, CORE_ADDR pc, const struct target_waitstatus *ws)
void breakpoint_free_objfile (struct objfile *objfile)
void initialize_breakpoint_ops (void)

Variables

struct breakpoint_ops base_breakpoint_ops
struct breakpoint_ops bkpt_breakpoint_ops
struct breakpoint_ops dprintf_breakpoint_ops
int target_exact_watchpoints = 0
struct breakpointbreakpoint_chain
struct breakpoint_ops tracepoint_breakpoint_ops

Define Documentation

#define ALL_BP_LOCATIONS (   B,
  BP_TMP 
)
Value:
for (BP_TMP = bp_location;                                      \
             BP_TMP < bp_location + bp_location_count && (B = *BP_TMP); \
             BP_TMP++)

Definition at line 538 of file breakpoint.c.

#define ALL_BP_LOCATIONS_AT_ADDR (   BP_LOCP_TMP,
  BP_LOCP_START,
  ADDRESS 
)
Value:
for (BP_LOCP_START = BP_LOCP_START == NULL ? get_first_locp_gte_addr (ADDRESS) : BP_LOCP_START, \
             BP_LOCP_TMP = BP_LOCP_START;                               \
             BP_LOCP_START                                              \
             && (BP_LOCP_TMP < bp_location + bp_location_count          \
             && (*BP_LOCP_TMP)->address == ADDRESS);                    \
             BP_LOCP_TMP++)

Definition at line 549 of file breakpoint.c.

#define ALL_BREAKPOINTS (   B)    for (B = breakpoint_chain; B; B = B->next)

Definition at line 527 of file breakpoint.c.

#define ALL_BREAKPOINTS_SAFE (   B,
  TMP 
)
Value:
for (B = breakpoint_chain;      \
             B ? (TMP=B->next, 1): 0;   \
             B = TMP)

Definition at line 529 of file breakpoint.c.

#define ALL_TRACEPOINTS (   B)
Value:
for (B = breakpoint_chain; B; B = B->next)  \
    if (is_tracepoint (B))

Definition at line 559 of file breakpoint.c.

#define BP_HARDWAREFLAG   2

Definition at line 4763 of file breakpoint.c.

#define BP_TEMPFLAG   1

Definition at line 4762 of file breakpoint.c.

#define BREAK_ARGS_HELP (   command)    command" [PROBE_MODIFIER] [LOCATION] [thread THREADNUM] [if CONDITION]\n\PROBE_MODIFIER shall be present if the command is to be placed in a\n\probe point. Accepted values are `-probe' (for a generic, automatically\n\guessed probe type) or `-probe-stap' (for a SystemTap probe).\n\LOCATION may be a line number, function name, or \"*\" and an address.\n\If a line number is specified, break at start of code for that line.\n\If a function is specified, break at start of code for that function.\n\If an address is specified, break at that exact address.\n\With no LOCATION, uses current execution address of the selected\n\stack frame. This is useful for breaking on return to a stack frame.\n\\n\THREADNUM is the number from \"info threads\".\n\CONDITION is a boolean expression.\n\\n\Multiple breakpoints at one place are permitted, and useful if their\n\conditions are different.\n\\n\Do \"help breakpoints\" for info on other commands dealing with breakpoints."

Definition at line 15658 of file breakpoint.c.

#define internal_error_pure_virtual_called ( )    gdb_assert_not_reached ("pure virtual function called")

Definition at line 12697 of file breakpoint.c.

#define NUM_LONGJMP_NAMES   ARRAY_SIZE(longjmp_names)

Definition at line 3071 of file breakpoint.c.

#define WP_DELETED   1

Definition at line 4754 of file breakpoint.c.

#define WP_IGNORE   4

Definition at line 4760 of file breakpoint.c.

#define WP_VALUE_CHANGED   2

Definition at line 4756 of file breakpoint.c.

#define WP_VALUE_NOT_CHANGED   3

Definition at line 4758 of file breakpoint.c.


Enumeration Type Documentation

Enumerator:
catch_fork_temporary 
catch_vfork_temporary 
catch_fork_permanent 
catch_vfork_permanent 

Definition at line 11530 of file breakpoint.c.

Enumerator:
EX_EVENT_THROW 
EX_EVENT_RETHROW 
EX_EVENT_CATCH 
EX_EVENT_THROW 
EX_EVENT_RETHROW 
EX_EVENT_CATCH 

Definition at line 86 of file breakpoint.c.

Enumerator:
mark_inserted 
mark_uninserted 

Definition at line 196 of file breakpoint.c.


Function Documentation

void _initialize_breakpoint ( void  )
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 
)

Definition at line 15685 of file breakpoint.c.

void add_solib_catchpoint ( char *  arg,
int  is_load,
int  is_temp,
int  enabled 
)

Definition at line 7988 of file breakpoint.c.

void awatch_command_wrapper ( char *  arg,
int  from_tty,
int  internal 
)

Definition at line 11346 of file breakpoint.c.

const char* bpdisp_text ( enum bpdisp  disp)

Definition at line 367 of file breakpoint.c.

Definition at line 5637 of file breakpoint.c.

void bpstat_clear ( bpstat bsp)

Definition at line 4139 of file breakpoint.c.

void bpstat_clear_actions ( void  )

Definition at line 4274 of file breakpoint.c.

Definition at line 4160 of file breakpoint.c.

void bpstat_do_actions ( void  )

Definition at line 4435 of file breakpoint.c.

Definition at line 4211 of file breakpoint.c.

bpstat bpstat_find_breakpoint ( bpstat  bsp,
struct breakpoint breakpoint 
)

Definition at line 4195 of file breakpoint.c.

int bpstat_num ( bpstat bsp,
int num 
)

Definition at line 4252 of file breakpoint.c.

enum print_stop_action bpstat_print ( bpstat  bs,
int  kind 
)

Definition at line 4606 of file breakpoint.c.

int bpstat_should_step ( void  )

Definition at line 5626 of file breakpoint.c.

bpstat bpstat_stop_status ( struct address_space *  aspace,
CORE_ADDR  bp_addr,
ptid_t  ptid,
const struct target_waitstatus ws 
)

Definition at line 5236 of file breakpoint.c.

struct bpstat_what bpstat_what ( bpstat  bs_head) [read]

Definition at line 5427 of file breakpoint.c.

void break_command ( char *  arg,
int  from_tty 
)

Definition at line 9871 of file breakpoint.c.

Definition at line 11956 of file breakpoint.c.

struct command_line* breakpoint_commands ( struct breakpoint b) [read]

Definition at line 356 of file breakpoint.c.

void breakpoint_free_objfile ( struct objfile objfile)

Definition at line 15784 of file breakpoint.c.

enum breakpoint_here breakpoint_here_p ( struct address_space *  aspace,
CORE_ADDR  pc 
)

Definition at line 3896 of file breakpoint.c.

void breakpoint_init_inferior ( enum inf_context  context)

Definition at line 3787 of file breakpoint.c.

int breakpoint_inserted_here_p ( struct address_space *  aspace,
CORE_ADDR  pc 
)

Definition at line 3976 of file breakpoint.c.

void breakpoint_program_space_exit ( struct program_space pspace)

Definition at line 2673 of file breakpoint.c.

void breakpoint_re_set ( void  )

Definition at line 14310 of file breakpoint.c.

void breakpoint_re_set_thread ( struct breakpoint b)

Definition at line 14348 of file breakpoint.c.

void breakpoint_retire_moribund ( void  )

Definition at line 12552 of file breakpoint.c.

void breakpoint_set_commands ( struct breakpoint b,
struct command_line commands 
)

Definition at line 1210 of file breakpoint.c.

void breakpoint_set_silent ( struct breakpoint b,
int  silent 
)

Definition at line 1225 of file breakpoint.c.

void breakpoint_set_task ( struct breakpoint b,
int  task 
)

Definition at line 1251 of file breakpoint.c.

void breakpoint_set_thread ( struct breakpoint b,
int  thread 
)

Definition at line 1238 of file breakpoint.c.

int breakpoint_thread_match ( struct address_space *  aspace,
CORE_ADDR  pc,
ptid_t  ptid 
)

Definition at line 4057 of file breakpoint.c.

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

Definition at line 1436 of file breakpoint.c.

Definition at line 448 of file breakpoint.c.

Definition at line 14973 of file breakpoint.c.

Definition at line 15036 of file breakpoint.c.

int catching_syscall_number ( int  syscall_number)

Definition at line 15045 of file breakpoint.c.

Definition at line 7274 of file breakpoint.c.

void check_tracepoint_command ( char *  line,
void *  closure 
)

Definition at line 1261 of file breakpoint.c.

void clear_breakpoint_hit_counts ( void  )

Definition at line 656 of file breakpoint.c.

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

Definition at line 8826 of file breakpoint.c.

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

Definition at line 1396 of file breakpoint.c.

int create_breakpoint ( struct gdbarch *  gdbarch,
char *  arg,
char *  cond_string,
int  thread,
char *  extra_string,
int  parse_arg,
int  tempflag,
enum bptype  type_wanted,
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.

struct breakpoint* create_jit_event_breakpoint ( struct gdbarch *  gdbarch,
CORE_ADDR  address 
) [read]

Definition at line 7394 of file breakpoint.c.

struct breakpoint* create_solib_event_breakpoint ( struct gdbarch *  gdbarch,
CORE_ADDR  address 
) [read]

Definition at line 7429 of file breakpoint.c.

struct breakpoint* create_thread_event_breakpoint ( struct gdbarch *  gdbarch,
CORE_ADDR  address 
) [read]

Definition at line 7357 of file breakpoint.c.

struct tracepoint* create_tracepoint_from_upload ( struct uploaded_tp utp) [read]

Definition at line 15185 of file breakpoint.c.

void delete_breakpoint ( struct breakpoint bpt)

Definition at line 13576 of file breakpoint.c.

void delete_command ( char *  arg,
int  from_tty 
)

Definition at line 13733 of file breakpoint.c.

void delete_longjmp_breakpoint ( int  thread)

Definition at line 7207 of file breakpoint.c.

Definition at line 7220 of file breakpoint.c.

Definition at line 7347 of file breakpoint.c.

void* deprecated_insert_raw_breakpoint ( struct gdbarch *  gdbarch,
struct address_space *  aspace,
CORE_ADDR  pc 
)

Definition at line 14859 of file breakpoint.c.

int deprecated_remove_raw_breakpoint ( struct gdbarch *  gdbarch,
void *  bp 
)

Definition at line 14883 of file breakpoint.c.

Definition at line 3578 of file breakpoint.c.

void disable_breakpoint ( struct breakpoint bpt)

Definition at line 14523 of file breakpoint.c.

Definition at line 8743 of file breakpoint.c.

Definition at line 7443 of file breakpoint.c.

void disable_overlay_breakpoints ( void  )

Definition at line 7316 of file breakpoint.c.

Definition at line 8713 of file breakpoint.c.

void enable_breakpoint ( struct breakpoint bpt)

Definition at line 14681 of file breakpoint.c.

Definition at line 8750 of file breakpoint.c.

void enable_overlay_breakpoints ( void  )

Definition at line 7302 of file breakpoint.c.

Definition at line 8728 of file breakpoint.c.

void end_rbreak_breakpoints ( void  )

Definition at line 648 of file breakpoint.c.

char* ep_parse_optional_if_clause ( char **  arg)

Definition at line 11505 of file breakpoint.c.

enum gdb_rc gdb_breakpoint_query ( struct ui_out *  uiout,
int  bnum,
char **  error_message 
)

Definition at line 6351 of file breakpoint.c.

struct breakpoint* get_breakpoint ( int  num) [read]

Definition at line 727 of file breakpoint.c.

struct gdbarch* get_sal_arch ( struct symtab_and_line  sal) [read]

Definition at line 7090 of file breakpoint.c.

struct tracepoint* get_tracepoint ( int  num) [read]

Definition at line 15406 of file breakpoint.c.

struct tracepoint* get_tracepoint_by_number ( char **  arg,
struct get_number_or_range_state state,
int  optional_p 
) [read]

Definition at line 15442 of file breakpoint.c.

Definition at line 15422 of file breakpoint.c.

int hardware_watchpoint_inserted_in_range ( struct address_space *  aspace,
CORE_ADDR  addr,
ULONGEST  len 
)

Definition at line 4022 of file breakpoint.c.

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 
)

Definition at line 11618 of file breakpoint.c.

void init_bp_location ( struct bp_location loc,
const struct bp_location_ops ops,
struct breakpoint owner 
)

Definition at line 6872 of file breakpoint.c.

void init_catchpoint ( struct breakpoint b,
struct gdbarch *  gdbarch,
int  tempflag,
char *  cond_string,
const struct breakpoint_ops ops 
)

Definition at line 8452 of file breakpoint.c.

void initialize_breakpoint_ops ( void  )

Definition at line 15794 of file breakpoint.c.

void insert_breakpoints ( void  )

Definition at line 2716 of file breakpoint.c.

void insert_single_step_breakpoint ( struct gdbarch *  gdbarch,
struct address_space *  aspace,
CORE_ADDR  next_pc 
)

Definition at line 14903 of file breakpoint.c.

void install_breakpoint ( int  internal,
struct breakpoint b,
int  update_gll 
)

Definition at line 8469 of file breakpoint.c.

int is_breakpoint ( const struct breakpoint bpt)

Definition at line 1590 of file breakpoint.c.

int is_catchpoint ( struct breakpoint ep)

Definition at line 4117 of file breakpoint.c.

int is_tracepoint ( const struct breakpoint b)

Definition at line 1112 of file breakpoint.c.

int is_watchpoint ( const struct breakpoint bpt)

Definition at line 1611 of file breakpoint.c.

Definition at line 2740 of file breakpoint.c.

struct breakpoint* iterate_over_breakpoints ( int(*)(struct breakpoint *, void *)  callback,
void *  data 
) [read]

Definition at line 15727 of file breakpoint.c.

void make_breakpoint_permanent ( struct breakpoint b)

Definition at line 7158 of file breakpoint.c.

struct cleanup* make_cleanup_delete_breakpoint ( struct breakpoint b) [read]

Definition at line 13675 of file breakpoint.c.

void mark_breakpoints_out ( void  )

Definition at line 3765 of file breakpoint.c.

int moribund_breakpoint_here_p ( struct address_space *  aspace,
CORE_ADDR  pc 
)

Definition at line 3929 of file breakpoint.c.

int pc_at_non_inline_function ( struct address_space *  aspace,
CORE_ADDR  pc,
const struct target_waitstatus ws 
)

Definition at line 15759 of file breakpoint.c.

void print_recreate_thread ( struct breakpoint b,
struct ui_file *  fp 
)

Definition at line 15487 of file breakpoint.c.

Definition at line 2984 of file breakpoint.c.

int regular_breakpoint_inserted_here_p ( struct address_space *  aspace,
CORE_ADDR  pc 
)

Definition at line 3947 of file breakpoint.c.

int remove_breakpoints ( void  )

Definition at line 2919 of file breakpoint.c.

Definition at line 2959 of file breakpoint.c.

Definition at line 7407 of file breakpoint.c.

Definition at line 14947 of file breakpoint.c.

Definition at line 7418 of file breakpoint.c.

Definition at line 7375 of file breakpoint.c.

void resolve_sal_pc ( struct symtab_and_line sal)

Definition at line 9816 of file breakpoint.c.

void rwatch_command_wrapper ( char *  arg,
int  from_tty,
int  internal 
)

Definition at line 11334 of file breakpoint.c.

void set_breakpoint_condition ( struct breakpoint b,
char *  exp,
int  from_tty 
)

Definition at line 913 of file breakpoint.c.

void set_ignore_count ( int  bptnum,
int  count,
int  from_tty 
)

Definition at line 14368 of file breakpoint.c.

void set_longjmp_breakpoint ( struct thread_info tp,
struct frame_id  frame 
)

Definition at line 7178 of file breakpoint.c.

Definition at line 7238 of file breakpoint.c.

struct breakpoint* set_momentary_breakpoint ( struct gdbarch *  gdbarch,
struct symtab_and_line  sal,
struct frame_id frame_id  ,
enum bptype  type 
) [read]

Definition at line 8762 of file breakpoint.c.

struct breakpoint* set_momentary_breakpoint_at_pc ( struct gdbarch *  gdbarch,
CORE_ADDR  pc,
enum bptype  type 
) [read]

Definition at line 8836 of file breakpoint.c.

struct breakpoint* set_raw_breakpoint ( struct gdbarch *  gdbarch,
struct symtab_and_line  sal,
enum bptype bptype  ,
const struct breakpoint_ops ops 
) [read]

Definition at line 7332 of file breakpoint.c.

Definition at line 14938 of file breakpoint.c.

int software_breakpoint_inserted_here_p ( struct address_space *  aspace,
CORE_ADDR  pc 
)

Definition at line 3991 of file breakpoint.c.

void start_rbreak_breakpoints ( void  )

Definition at line 639 of file breakpoint.c.

void tbreak_command ( char *  arg,
int  from_tty 
)

Definition at line 9877 of file breakpoint.c.

void until_break_command ( char *  arg,
int  from_tty,
int  anywhere 
)

Definition at line 11384 of file breakpoint.c.

void update_breakpoint_locations ( struct breakpoint b,
struct symtabs_and_lines  sals,
struct symtabs_and_lines  sals_end 
)

Definition at line 13976 of file breakpoint.c.

Definition at line 3458 of file breakpoint.c.

int user_breakpoint_p ( struct breakpoint b)

Definition at line 6370 of file breakpoint.c.

Definition at line 594 of file breakpoint.c.

Definition at line 1188 of file breakpoint.c.

void watch_command_wrapper ( char *  arg,
int  from_tty,
int  internal 
)

Definition at line 11303 of file breakpoint.c.

Definition at line 4677 of file breakpoint.c.


Variable Documentation

Initial value:
{
  base_breakpoint_dtor,
  base_breakpoint_allocate_location,
  base_breakpoint_re_set,
  base_breakpoint_insert_location,
  base_breakpoint_remove_location,
  base_breakpoint_breakpoint_hit,
  base_breakpoint_check_status,
  base_breakpoint_resources_needed,
  base_breakpoint_works_in_software_mode,
  base_breakpoint_print_it,
  NULL,
  base_breakpoint_print_one_detail,
  base_breakpoint_print_mention,
  base_breakpoint_print_recreate,
  base_breakpoint_create_sals_from_address,
  base_breakpoint_create_breakpoints_sal,
  base_breakpoint_decode_linespec,
  base_breakpoint_explains_signal,
  base_breakpoint_after_condition_true,
}

Definition at line 279 of file breakpoint.c.

Definition at line 297 of file breakpoint.c.

Definition at line 565 of file breakpoint.c.

Definition at line 303 of file breakpoint.c.

Definition at line 521 of file breakpoint.c.

Definition at line 13366 of file breakpoint.c.

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Defines