GDB (xrefs)
Loading...
Searching...
No Matches
Public Member Functions | Public Attributes | List of all members
solib_catchpoint Struct Reference
Inheritance diagram for solib_catchpoint:
catchpoint breakpoint

Public Member Functions

 solib_catchpoint (struct gdbarch *gdbarch, bool temp, const char *cond_string, bool is_load_, const char *arg)
 
int insert_location (struct bp_location *) override
 
int remove_location (struct bp_location *, enum remove_bp_reason reason) override
 
int breakpoint_hit (const struct bp_location *bl, const address_space *aspace, CORE_ADDR bp_addr, const target_waitstatus &ws) override
 
void check_status (struct bpstat *bs) override
 
enum print_stop_action print_it (const bpstat *bs) const override
 
bool print_one (const bp_location **) const override
 
void print_mention () const override
 
void print_recreate (struct ui_file *fp) const override
 
- Public Member Functions inherited from catchpoint
 catchpoint (struct gdbarch *gdbarch, bool temp, const char *cond_string)
 
 ~catchpoint () override=0
 
- 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 re_set ()
 
virtual int resources_needed (const struct bp_location *)
 
virtual void print_one_detail (struct ui_out *) const
 
virtual bool explains_signal (enum gdb_signal)
 
virtual void after_condition_true (struct bpstat *bs)
 

Public Attributes

bool is_load
 
gdb::unique_xmalloc_ptr< char > regex
 
std::unique_ptr< compiled_regex > compiled
 
- 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 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 36 of file break-catch-load.c.

Constructor & Destructor Documentation

◆ solib_catchpoint()

solib_catchpoint::solib_catchpoint ( struct gdbarch * gdbarch,
bool temp,
const char * cond_string,
bool is_load_,
const char * arg )
inline

Definition at line 38 of file break-catch-load.c.

Member Function Documentation

◆ breakpoint_hit()

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

◆ check_status()

void solib_catchpoint::check_status ( struct bpstat * bs)
overridevirtual

◆ insert_location()

int solib_catchpoint::insert_location ( struct bp_location * ignore)
overridevirtual

Reimplemented from breakpoint.

Definition at line 73 of file break-catch-load.c.

◆ print_it()

enum print_stop_action solib_catchpoint::print_it ( const bpstat * bs) const
overridevirtual

◆ print_mention()

void solib_catchpoint::print_mention ( ) const
overridevirtual

Reimplemented from breakpoint.

Definition at line 203 of file break-catch-load.c.

References gdb_printf(), is_load, and breakpoint::number.

◆ print_one()

bool solib_catchpoint::print_one ( const bp_location ** locs) const
overridevirtual

◆ print_recreate()

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

Reimplemented from breakpoint.

Definition at line 210 of file break-catch-load.c.

References disp_del, breakpoint::disposition, gdb_printf(), is_load, and regex.

◆ remove_location()

int solib_catchpoint::remove_location ( struct bp_location * ignore,
enum remove_bp_reason reason )
overridevirtual

Reimplemented from breakpoint.

Definition at line 79 of file break-catch-load.c.

Member Data Documentation

◆ compiled

std::unique_ptr<compiled_regex> solib_catchpoint::compiled

Definition at line 69 of file break-catch-load.c.

Referenced by check_status().

◆ is_load

bool solib_catchpoint::is_load

Definition at line 64 of file break-catch-load.c.

Referenced by check_status(), print_mention(), print_one(), and print_recreate().

◆ regex

gdb::unique_xmalloc_ptr<char> solib_catchpoint::regex

Definition at line 68 of file break-catch-load.c.

Referenced by check_status(), print_one(), and print_recreate().


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