GDB (API)
|
#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.
#define BREAKPOINT_MAX 16 |
Definition at line 44 of file breakpoint.h.
#define CATCH_PERMANENT ((void *) (uintptr_t) 0) |
Definition at line 1217 of file breakpoint.h.
#define CATCH_TEMPORARY ((void *) (uintptr_t) 1) |
Definition at line 1218 of file breakpoint.h.
typedef struct bp_location* bp_location_p |
Definition at line 637 of file breakpoint.h.
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.
enum bp_loc_type |
bp_loc_software_breakpoint | |
bp_loc_hardware_breakpoint | |
bp_loc_hardware_watchpoint | |
bp_loc_other |
Definition at line 290 of file breakpoint.h.
enum bp_print_how |
Definition at line 1049 of file breakpoint.h.
enum bpdisp |
Definition at line 210 of file breakpoint.h.
enum bpstat_signal_value |
Definition at line 477 of file breakpoint.h.
Definition at line 900 of file breakpoint.h.
enum bptype |
Definition at line 55 of file breakpoint.h.
Definition at line 1261 of file breakpoint.h.
enum breakpoint_here |
Definition at line 1121 of file breakpoint.h.
enum condition_status |
Definition at line 222 of file breakpoint.h.
enum enable_state |
Definition at line 185 of file breakpoint.h.
enum inf_context |
Definition at line 1111 of file breakpoint.h.
enum print_stop_action |
Definition at line 981 of file breakpoint.h.
enum stop_stack_kind |
Definition at line 951 of file breakpoint.h.
enum watchpoint_triggered |
Definition at line 624 of file breakpoint.h.
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 * | , |
int | , | ||
int | |||
) |
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 * | ) |
Definition at line 4139 of file breakpoint.c.
void bpstat_clear_actions | ( | void | ) |
Definition at line 4274 of file breakpoint.c.
bpstat bpstat_copy | ( | bpstat | ) |
Definition at line 4160 of file breakpoint.c.
void bpstat_do_actions | ( | void | ) |
Definition at line 4435 of file breakpoint.c.
enum bpstat_signal_value bpstat_explains_signal | ( | bpstat | , |
enum | gdb_signal | ||
) |
Definition at line 4211 of file breakpoint.c.
bpstat bpstat_find_breakpoint | ( | bpstat | , |
struct breakpoint * | |||
) |
Definition at line 4195 of file breakpoint.c.
int bpstat_num | ( | bpstat * | , |
int * | |||
) |
Definition at line 4252 of file breakpoint.c.
enum print_stop_action bpstat_print | ( | bpstat | , |
int | |||
) |
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 | pc, | ||
ptid_t | ptid, | ||
const struct target_waitstatus * | ws | ||
) |
Definition at line 5236 of file breakpoint.c.
struct bpstat_what bpstat_what | ( | bpstat | ) | [read] |
Definition at line 5427 of file breakpoint.c.
void break_command | ( | char * | , |
int | |||
) |
Definition at line 9871 of file breakpoint.c.
void breakpoint_auto_delete | ( | bpstat | ) |
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 * | , |
CORE_ADDR | |||
) |
Definition at line 3896 of file breakpoint.c.
void breakpoint_init_inferior | ( | enum | inf_context | ) |
Definition at line 3787 of file breakpoint.c.
int breakpoint_inserted_here_p | ( | struct address_space * | , |
CORE_ADDR | |||
) |
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 * | ) |
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 * | , |
CORE_ADDR | , | ||
ptid_t | |||
) |
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.
int breakpoints_always_inserted_mode | ( | void | ) |
Definition at line 448 of file breakpoint.c.
void cancel_single_step_breakpoints | ( | void | ) |
Definition at line 14973 of file breakpoint.c.
int catch_syscall_enabled | ( | void | ) |
Definition at line 15036 of file breakpoint.c.
int catching_syscall_number | ( | int | syscall_number | ) |
Definition at line 15045 of file breakpoint.c.
void check_longjmp_breakpoint_for_call_dummy | ( | int | thread | ) |
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.
void clear_displays | ( | void | ) |
Definition at line 1578 of file printcmd.c.
struct breakpoint* clone_momentary_breakpoint | ( | struct breakpoint * | bpkt | ) | [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 | 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.
struct breakpoint* create_jit_event_breakpoint | ( | struct gdbarch * | , |
CORE_ADDR | |||
) | [read] |
Definition at line 7394 of file breakpoint.c.
struct breakpoint* create_solib_event_breakpoint | ( | struct gdbarch * | , |
CORE_ADDR | |||
) | [read] |
Definition at line 7429 of file breakpoint.c.
struct breakpoint* create_thread_event_breakpoint | ( | struct gdbarch * | , |
CORE_ADDR | |||
) | [read] |
Definition at line 7357 of file breakpoint.c.
void delete_breakpoint | ( | struct breakpoint * | ) |
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.
void delete_longjmp_breakpoint_at_next_stop | ( | int | thread | ) |
Definition at line 7220 of file breakpoint.c.
void delete_std_terminate_breakpoint | ( | void | ) |
Definition at line 7347 of file breakpoint.c.
void* deprecated_insert_raw_breakpoint | ( | struct gdbarch * | , |
struct address_space * | , | ||
CORE_ADDR | |||
) |
Definition at line 14859 of file breakpoint.c.
int deprecated_remove_raw_breakpoint | ( | struct gdbarch * | , |
void * | |||
) |
Definition at line 14883 of file breakpoint.c.
int detach_breakpoints | ( | ptid_t | ptid | ) |
Definition at line 3578 of file breakpoint.c.
void disable_breakpoint | ( | struct breakpoint * | ) |
Definition at line 14523 of file breakpoint.c.
void disable_breakpoints_before_startup | ( | void | ) |
Definition at line 8743 of file breakpoint.c.
void disable_breakpoints_in_shlibs | ( | void | ) |
Definition at line 7443 of file breakpoint.c.
void disable_current_display | ( | void | ) |
Definition at line 1851 of file printcmd.c.
void disable_display | ( | int | ) |
Definition at line 1837 of file printcmd.c.
void disable_overlay_breakpoints | ( | void | ) |
Definition at line 7316 of file breakpoint.c.
void disable_watchpoints_before_interactive_call_start | ( | void | ) |
Definition at line 8713 of file breakpoint.c.
void do_displays | ( | void | ) |
Definition at line 1825 of file printcmd.c.
void enable_breakpoint | ( | struct breakpoint * | ) |
Definition at line 14681 of file breakpoint.c.
void enable_breakpoints_after_startup | ( | void | ) |
Definition at line 8750 of file breakpoint.c.
void enable_overlay_breakpoints | ( | void | ) |
Definition at line 7302 of file breakpoint.c.
void enable_watchpoints_after_interactive_call_stop | ( | void | ) |
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.
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.
struct tracepoint* get_tracepoint_by_number_on_target | ( | int | num | ) | [read] |
Definition at line 15422 of file breakpoint.c.
int hardware_watchpoint_inserted_in_range | ( | struct address_space * | , |
CORE_ADDR | addr, | ||
ULONGEST | len | ||
) |
Definition at line 4022 of file breakpoint.c.
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 | ||
) |
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 * | , |
struct address_space * | , | ||
CORE_ADDR | |||
) |
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 * | ) |
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 *) | , |
void * | |||
) | [read] |
Definition at line 15727 of file breakpoint.c.
void make_breakpoint_permanent | ( | struct breakpoint * | ) |
Definition at line 7158 of file breakpoint.c.
struct cleanup* make_cleanup_delete_breakpoint | ( | struct breakpoint * | ) | [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 * | , |
CORE_ADDR | |||
) |
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.
void rbreak_command_wrapper | ( | char * | , |
int | |||
) |
Definition at line 2984 of file breakpoint.c.
int regular_breakpoint_inserted_here_p | ( | struct address_space * | , |
CORE_ADDR | |||
) |
Definition at line 3947 of file breakpoint.c.
int remove_breakpoints | ( | void | ) |
Definition at line 2919 of file breakpoint.c.
int remove_breakpoints_pid | ( | int | pid | ) |
Definition at line 2959 of file breakpoint.c.
void remove_jit_event_breakpoints | ( | void | ) |
Definition at line 7407 of file breakpoint.c.
void remove_single_step_breakpoints | ( | void | ) |
Definition at line 14947 of file breakpoint.c.
void remove_solib_event_breakpoints | ( | void | ) |
Definition at line 7418 of file breakpoint.c.
void remove_thread_event_breakpoints | ( | void | ) |
Definition at line 7375 of file breakpoint.c.
void rwatch_command_wrapper | ( | char * | , |
int | , | ||
int | |||
) |
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 | , |
int | , | ||
int | |||
) |
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.
struct breakpoint* set_longjmp_breakpoint_for_call_dummy | ( | void | ) | [read] |
Definition at line 7238 of file breakpoint.c.
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 8836 of file breakpoint.c.
void set_std_terminate_breakpoint | ( | void | ) |
Definition at line 7332 of file breakpoint.c.
int single_step_breakpoints_inserted | ( | void | ) |
Definition at line 14938 of file breakpoint.c.
int software_breakpoint_inserted_here_p | ( | struct address_space * | , |
CORE_ADDR | |||
) |
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 * | , |
int | |||
) |
Definition at line 9877 of file breakpoint.c.
void thbreak_command_wrapper | ( | char * | , |
int | |||
) |
void until_break_command | ( | char * | , |
int | , | ||
int | |||
) |
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.
void update_breakpoints_after_exec | ( | void | ) |
Definition at line 3458 of file breakpoint.c.
int user_breakpoint_p | ( | struct breakpoint * | ) |
Definition at line 6370 of file breakpoint.c.
VEC | ( | breakpoint_p | ) |
Definition at line 1188 of file breakpoint.c.
void watch_command_wrapper | ( | char * | , |
int | , | ||
int | |||
) |
Definition at line 11303 of file breakpoint.c.
int watchpoints_triggered | ( | struct target_waitstatus * | ) |
Definition at line 4677 of file breakpoint.c.
Definition at line 279 of file breakpoint.c.
Definition at line 297 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.