GDB (xrefs)
Loading...
Searching...
No Matches
Public Member Functions | Public Attributes | List of all members
tracepoint Struct Reference

#include "breakpoint.h"

Inheritance diagram for tracepoint:
code_breakpoint breakpoint static_marker_tracepoint

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)
 
- Public Member Functions inherited from 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)
 
 ~code_breakpoint () override=0
 
bp_locationadd_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)
 
- Public Member Functions inherited from breakpoint
 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_locationallocate_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_locationfirst_loc ()
 
const bp_locationfirst_loc () const
 
const bp_locationlast_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)
 

Public Attributes

long step_count = 0
 
int pass_count = 0
 
int number_on_target = 0
 
ULONGEST traceframe_usage = 0
 
std::string static_trace_marker_id
 
int static_trace_marker_id_idx = 0
 
- Public Attributes inherited from breakpoint
bptype type = bp_none
 
enum enable_state enable_state = bp_enabled
 
bpdisp disposition = disp_del
 
int number = 0
 
bool silent = false
 
bool display_canonical = false
 
int ignore_count = 0
 
int enable_count = 0
 
counted_command_line commands
 
struct frame_id frame_id = null_frame_id
 
program_spacepspace = NULL
 
location_spec_up locspec
 
gdb::unique_xmalloc_ptr< char > filter
 
location_spec_up locspec_range_end
 
struct gdbarchgdbarch
 
enum language language
 
int input_radix
 
gdb::unique_xmalloc_ptr< char > cond_string
 
gdb::unique_xmalloc_ptr< char > extra_string
 
breakpointrelated_breakpoint
 
int thread = -1
 
int inferior = -1
 
int task = -1
 
int hit_count = 0
 
int condition_not_parsed = 0
 
gdbpy_breakpoint_objectpy_bp_object = NULL
 
gdbscm_breakpoint_objectscm_bp_object = NULL
 

Additional Inherited Members

- Protected Member Functions inherited from code_breakpoint
virtual std::vector< symtab_and_linedecode_location_spec (location_spec *locspec, struct program_space *search_pspace)
 
void re_set_default ()
 
std::vector< symtab_and_linelocation_spec_to_sals (location_spec *locspec, struct program_space *search_pspace, int *found)
 
void say_where () const
 
- Protected Member Functions inherited from breakpoint
void print_recreate_thread (struct ui_file *fp) const
 
- Protected Attributes inherited from breakpoint
bp_location_list m_locations
 

Detailed Description

Definition at line 1076 of file breakpoint.h.

Member Function Documentation

◆ breakpoint_hit()

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

Reimplemented from code_breakpoint.

Definition at line 12331 of file breakpoint.c.

◆ code_breakpoint()

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.

◆ print_mention()

void tracepoint::print_mention ( ) const
overridevirtual

◆ print_one_detail()

void tracepoint::print_one_detail ( struct ui_out * uiout) const
overridevirtual

◆ print_recreate()

void tracepoint::print_recreate ( struct ui_file * fp) const
overridevirtual

Member Data Documentation

◆ number_on_target

int tracepoint::number_on_target = 0

◆ pass_count

int tracepoint::pass_count = 0

◆ static_trace_marker_id

std::string tracepoint::static_trace_marker_id

◆ static_trace_marker_id_idx

int tracepoint::static_trace_marker_id_idx = 0

Definition at line 1111 of file breakpoint.h.

Referenced by static_marker_tracepoint::decode_location_spec().

◆ step_count

long tracepoint::step_count = 0

◆ traceframe_usage

ULONGEST tracepoint::traceframe_usage = 0

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