GDB (xrefs)

Public Attributes | List of all members
breakpoint_ops Struct Reference

`#include "breakpoint.h"`

## Public Attributes
struct bp_location *(* | allocate_location )(struct breakpoint *)
void(* | re_set )(struct breakpoint *self)
int(* | insert_location )(struct bp_location *)
int(* | remove_location )(struct bp_location *, enum remove_bp_reason reason)
int(* | breakpoint_hit )(const struct bp_location *bl, const address_space *aspace, CORE_ADDR bp_addr, const struct target_waitstatus *ws)
void(* | check_status )(struct bpstats *bs)
int(* | resources_needed )(const struct bp_location *)
int(* | works_in_software_mode )(const struct breakpoint *)
enum print_stop_action(* | print_it )(struct bpstats *bs)
void(* | print_one )(struct breakpoint *, struct bp_location **)
void(* | print_one_detail )(const struct breakpoint *, struct ui_out *)
void(* | print_mention )(struct breakpoint *)
void(* | print_recreate )(struct breakpoint *, struct ui_file *fp)
void(* | create_sals_from_location )(const struct event_location *location, struct linespec_result *canonical, enum bptype type_wanted)
void(* | create_breakpoints_sal )(struct gdbarch *, struct linespec_result *, gdb::unique_xmalloc_ptr< char >, gdb::unique_xmalloc_ptr< char >, enum bptype, enum bpdisp, int, int, int, const struct breakpoint_ops *, int, int, int, unsigned)
std::vector< symtab_and_line >(* | decode_location )(struct breakpoint *b, const struct event_location *location, struct program_space *search_pspace)
int(* | explains_signal )(struct breakpoint *, enum gdb_signal)
void(* | after_condition_true )(struct bpstats *bs)

## Detailed Description

Definition at line 520 of file breakpoint.h.

## Member Data Documentation

## ◆ after_condition_true

void(* breakpoint_ops::after_condition_true) (struct bpstats *bs)

Definition at line 637 of file breakpoint.h.

Referenced by bpstat_stop_status(), and initialize_breakpoint_ops().

## ◆ allocate_location

struct bp_location*(* breakpoint_ops::allocate_location) (struct breakpoint *)

Definition at line 523 of file breakpoint.h.

Referenced by allocate_bp_location(), and initialize_ada_catchpoint_ops().

## ◆ breakpoint_hit

int(* breakpoint_ops::breakpoint_hit) (const struct bp_location *bl, const address_space *aspace, CORE_ADDR bp_addr, const struct target_waitstatus *ws)

Definition at line 547 of file breakpoint.h.

Referenced by bpstat_check_location(), initialize_breakpoint_ops(), initialize_signal_catchpoint_ops(), and initialize_syscall_catchpoint_ops().

## ◆ check_status

void(* breakpoint_ops::check_status) (struct bpstats *bs)

Definition at line 554 of file breakpoint.h.

Referenced by bpstat_stop_status(), check_status_exception_catchpoint(), initialize_ada_catchpoint_ops(), initialize_breakpoint_ops(), and initialize_throw_catchpoint_ops().

## ◆ create_breakpoints_sal

void(* breakpoint_ops::create_breakpoints_sal) (struct gdbarch *, struct linespec_result *, gdb::unique_xmalloc_ptr< char >, gdb::unique_xmalloc_ptr< char >, enum bptype, enum bpdisp, int, int, int, const struct breakpoint_ops *, int, int, int, unsigned)

Definition at line 612 of file breakpoint.h.

Referenced by create_breakpoint(), and initialize_breakpoint_ops().

## ◆ create_sals_from_location

void(* breakpoint_ops::create_sals_from_location) (const struct event_location *location, struct linespec_result *canonical, enum bptype type_wanted)

Definition at line 601 of file breakpoint.h.

Referenced by create_breakpoint(), and initialize_breakpoint_ops().

## ◆ decode_location

std::vector<symtab_and_line>(* breakpoint_ops::decode_location) (struct breakpoint *b, const struct event_location *location, struct program_space *search_pspace)

Definition at line 627 of file breakpoint.h.

Referenced by initialize_breakpoint_ops(), and location_to_sals().

## ◆ explains_signal

int(* breakpoint_ops::explains_signal) (struct breakpoint *, enum gdb_signal)

Definition at line 633 of file breakpoint.h.

Referenced by bpstat_explains_signal(), initialize_breakpoint_ops(), and initialize_signal_catchpoint_ops().

## ◆ insert_location

int(* breakpoint_ops::insert_location) (struct bp_location *)

Definition at line 533 of file breakpoint.h.

Referenced by initialize_breakpoint_ops(), initialize_signal_catchpoint_ops(), initialize_syscall_catchpoint_ops(), and insert_bp_location().

## ◆ print_it

enum print_stop_action(* breakpoint_ops::print_it) (struct bpstats *bs)

Definition at line 568 of file breakpoint.h.

Referenced by initialize_ada_catchpoint_ops(), initialize_breakpoint_ops(), initialize_signal_catchpoint_ops(), initialize_syscall_catchpoint_ops(), initialize_throw_catchpoint_ops(), and print_bp_stop_message().

## ◆ print_mention

void(* breakpoint_ops::print_mention) (struct breakpoint *)

Definition at line 590 of file breakpoint.h.

Referenced by initialize_ada_catchpoint_ops(), initialize_breakpoint_ops(), initialize_signal_catchpoint_ops(), initialize_syscall_catchpoint_ops(), initialize_throw_catchpoint_ops(), and mention().

## ◆ print_one

void(* breakpoint_ops::print_one) (struct breakpoint *, struct bp_location **)

Definition at line 572 of file breakpoint.h.

Referenced by initialize_ada_catchpoint_ops(), initialize_breakpoint_ops(), initialize_signal_catchpoint_ops(), initialize_syscall_catchpoint_ops(), initialize_throw_catchpoint_ops(), print_one_breakpoint(), and print_one_breakpoint_location().

## ◆ print_one_detail

void(* breakpoint_ops::print_one_detail) (const struct breakpoint *, struct ui_out *)

Definition at line 586 of file breakpoint.h.

Referenced by initialize_breakpoint_ops(), initialize_throw_catchpoint_ops(), and print_one_breakpoint_location().

## ◆ print_recreate

void(* breakpoint_ops::print_recreate) (struct breakpoint *, struct ui_file *fp)

Definition at line 593 of file breakpoint.h.

Referenced by initialize_ada_catchpoint_ops(), initialize_breakpoint_ops(), initialize_signal_catchpoint_ops(), initialize_syscall_catchpoint_ops(), initialize_throw_catchpoint_ops(), and save_breakpoints().

## ◆ re_set

void(* breakpoint_ops::re_set) (struct breakpoint *self)

Definition at line 528 of file breakpoint.h.

Referenced by breakpoint_re_set_one(), initialize_ada_catchpoint_ops(), initialize_breakpoint_ops(), initialize_throw_catchpoint_ops(), and re_set_exception().

## ◆ remove_location

int(* breakpoint_ops::remove_location) (struct bp_location *, enum remove_bp_reason reason)

Definition at line 539 of file breakpoint.h.

Referenced by initialize_breakpoint_ops(), initialize_signal_catchpoint_ops(), initialize_syscall_catchpoint_ops(), and remove_breakpoint_1().

## ◆ resources_needed

int(* breakpoint_ops::resources_needed) (const struct bp_location *)

Definition at line 559 of file breakpoint.h.

Referenced by hw_breakpoint_used_count(), hw_watchpoint_use_count(), and initialize_breakpoint_ops().

## ◆ works_in_software_mode

int(* breakpoint_ops::works_in_software_mode) (const struct breakpoint *)

Definition at line 564 of file breakpoint.h.

Referenced by initialize_breakpoint_ops(), and update_watchpoint().

The documentation for this struct was generated from the following file:

- /tmp/gdb-8.1/gdb/breakpoint.h