GDB (xrefs)
|
#include "breakpoint.h"
Public Member Functions | |
int | breakpoint_hit (const struct bp_location *bl, const address_space *aspace, CORE_ADDR bp_addr, const target_waitstatus &ws) override |
void | print_one_detail (struct ui_out *uiout) const override |
void | print_mention () const override |
void | print_recreate (struct ui_file *fp) const override |
code_breakpoint (struct gdbarch *gdbarch, bptype type, gdb::array_view< const symtab_and_line > sals, location_spec_up &&locspec, gdb::unique_xmalloc_ptr< char > filter, gdb::unique_xmalloc_ptr< char > cond_string, gdb::unique_xmalloc_ptr< char > extra_string, enum bpdisp disposition, int thread, int task, int inferior, int ignore_count, int from_tty, int enabled, unsigned flags, int display_canonical) | |
![]() | |
code_breakpoint (struct gdbarch *gdbarch, bptype type, gdb::array_view< const symtab_and_line > sals, location_spec_up &&locspec, gdb::unique_xmalloc_ptr< char > filter, gdb::unique_xmalloc_ptr< char > cond_string, gdb::unique_xmalloc_ptr< char > extra_string, enum bpdisp disposition, int thread, int task, int inferior, int ignore_count, int from_tty, int enabled, unsigned flags, int display_canonical) | |
~code_breakpoint () override=0 | |
bp_location * | add_location (const symtab_and_line &sal) |
void | re_set () override |
int | insert_location (struct bp_location *) override |
int | remove_location (struct bp_location *, enum remove_bp_reason reason) override |
breakpoint (struct gdbarch *gdbarch_, enum bptype bptype, bool temp=true, const char *cond_string=nullptr) | |
![]() | |
breakpoint (struct gdbarch *gdbarch_, enum bptype bptype, bool temp=true, const char *cond_string=nullptr) | |
DISABLE_COPY_AND_ASSIGN (breakpoint) | |
virtual | ~breakpoint ()=0 |
virtual struct bp_location * | allocate_location () |
bp_location_range | locations () const |
void | add_location (bp_location &loc) |
void | unadd_location (bp_location &loc) |
void | clear_locations () |
bp_location_list | steal_locations (program_space *pspace) |
bool | has_locations () const |
bool | has_single_location () const |
bool | has_multiple_locations () const |
bp_location & | first_loc () |
const bp_location & | first_loc () const |
const bp_location & | last_loc () const |
virtual void | check_status (struct bpstat *bs) |
virtual int | resources_needed (const struct bp_location *) |
virtual enum print_stop_action | print_it (const bpstat *bs) const |
virtual bool | print_one (const bp_location **) const |
virtual bool | explains_signal (enum gdb_signal) |
virtual void | after_condition_true (struct bpstat *bs) |
Additional Inherited Members | |
![]() | |
virtual std::vector< symtab_and_line > | decode_location_spec (location_spec *locspec, struct program_space *search_pspace) |
void | re_set_default () |
std::vector< symtab_and_line > | location_spec_to_sals (location_spec *locspec, struct program_space *search_pspace, int *found) |
void | say_where () const |
![]() | |
void | print_recreate_thread (struct ui_file *fp) const |
![]() | |
bp_location_list | m_locations |
Definition at line 1076 of file breakpoint.h.
|
overridevirtual |
Reimplemented from code_breakpoint.
Definition at line 12331 of file breakpoint.c.
code_breakpoint::code_breakpoint | ( | struct gdbarch * | gdbarch, |
bptype | type, | ||
gdb::array_view< const symtab_and_line > | sals, | ||
location_spec_up && | locspec, | ||
gdb::unique_xmalloc_ptr< char > | filter, | ||
gdb::unique_xmalloc_ptr< char > | cond_string, | ||
gdb::unique_xmalloc_ptr< char > | extra_string, | ||
enum bpdisp | disposition, | ||
int | thread, | ||
int | task, | ||
int | inferior, | ||
int | ignore_count, | ||
int | from_tty, | ||
int | enabled, | ||
unsigned | flags, | ||
int | display_canonical ) |
Definition at line 921 of file breakpoint.c.
|
overridevirtual |
Reimplemented from breakpoint.
Definition at line 12355 of file breakpoint.c.
References bp_fast_tracepoint, bp_static_marker_tracepoint, bp_static_tracepoint, bp_tracepoint, current_uiout, gdb_printf(), breakpoint::number, and code_breakpoint::say_where().
|
overridevirtual |
Reimplemented from breakpoint.
Definition at line 12341 of file breakpoint.c.
References bp_static_marker_tracepoint, bp_static_tracepoint, ui_out::message(), static_trace_marker_id, and string_field().
|
overridevirtual |
Reimplemented from breakpoint.
Definition at line 12383 of file breakpoint.c.
References bp_fast_tracepoint, bp_static_marker_tracepoint, bp_static_tracepoint, bp_tracepoint, gdb_printf(), breakpoint::locspec, pass_count, and breakpoint::print_recreate_thread().
int tracepoint::number_on_target = 0 |
Definition at line 1096 of file breakpoint.h.
Referenced by download_tracepoint_locations(), get_tracepoint_by_number_on_target(), remote_target::get_tracepoint_status(), merge_uploaded_tracepoints(), start_tracing(), tfind_tracepoint_command(), and tfile_target::trace_find().
int tracepoint::pass_count = 0 |
Definition at line 1093 of file breakpoint.h.
Referenced by remote_target::download_tracepoint(), find_matching_tracepoint_location(), mi_cmd_break_passcount(), print_one_breakpoint_location(), print_recreate(), and trace_pass_set_count().
std::string tracepoint::static_trace_marker_id |
Definition at line 1103 of file breakpoint.h.
Referenced by static_marker_tracepoint::decode_location_spec(), and print_one_detail().
int tracepoint::static_trace_marker_id_idx = 0 |
Definition at line 1111 of file breakpoint.h.
Referenced by static_marker_tracepoint::decode_location_spec().
long tracepoint::step_count = 0 |
Definition at line 1089 of file breakpoint.h.
Referenced by remote_target::download_tracepoint(), find_matching_tracepoint_location(), tracefile_fetch_registers(), validate_actionline(), and validate_commands_for_breakpoint().
ULONGEST tracepoint::traceframe_usage = 0 |
Definition at line 1100 of file breakpoint.h.
Referenced by create_tracepoint_from_upload(), remote_target::get_tracepoint_status(), parse_tracepoint_status(), and print_one_breakpoint_location().