GDB (xrefs)
Loading...
Searching...
No Matches
Classes | Public Member Functions | Static Public Member Functions | Private Member Functions | Private Attributes | List of all members
skiplist_entry Class Reference

Classes

struct  private_key
 

Public Member Functions

bool skip_file_p (const symtab_and_line &function_sal) const
 
bool skip_function_p (const char *function_name) const
 
int number () const
 
bool enabled () const
 
bool file_is_glob () const
 
const std::string & file () const
 
const std::string & function () const
 
bool function_is_regexp () const
 
void enable ()
 
void disable ()
 
 skiplist_entry (const skiplist_entry &)=delete
 
void operator= (const skiplist_entry &)=delete
 
 skiplist_entry (bool file_is_glob, std::string &&file, bool function_is_regexp, std::string &&function, private_key)
 

Static Public Member Functions

static void add_entry (bool file_is_glob, std::string &&file, bool function_is_regexp, std::string &&function)
 

Private Member Functions

bool do_skip_file_p (const symtab_and_line &function_sal) const
 
bool do_skip_gfile_p (const symtab_and_line &function_sal) const
 

Private Attributes

int m_number = -1
 
bool m_file_is_glob
 
std::string m_file
 
bool m_function_is_regexp
 
std::string m_function
 
gdb::optional< compiled_regex > m_compiled_function_regexp
 
bool m_enabled = true
 

Detailed Description

Definition at line 46 of file skip.c.

Constructor & Destructor Documentation

◆ skiplist_entry() [1/2]

skiplist_entry::skiplist_entry ( const skiplist_entry & )
delete

◆ skiplist_entry() [2/2]

skiplist_entry::skiplist_entry ( bool file_is_glob,
std::string && file,
bool function_is_regexp,
std::string && function,
private_key  )

Member Function Documentation

◆ add_entry()

void skiplist_entry::add_entry ( bool file_is_glob,
std::string && file,
bool function_is_regexp,
std::string && function )
static

◆ disable()

void skiplist_entry::disable ( )
inline

Definition at line 73 of file skip.c.

References m_enabled.

◆ do_skip_file_p()

bool skiplist_entry::do_skip_file_p ( const symtab_and_line & function_sal) const
private

◆ do_skip_gfile_p()

bool skiplist_entry::do_skip_gfile_p ( const symtab_and_line & function_sal) const
private

◆ enable()

void skiplist_entry::enable ( )
inline

Definition at line 72 of file skip.c.

References m_enabled.

◆ enabled()

bool skiplist_entry::enabled ( ) const
inline

◆ file()

const std::string & skiplist_entry::file ( ) const
inline

Definition at line 67 of file skip.c.

References m_file.

Referenced by add_entry().

◆ file_is_glob()

bool skiplist_entry::file_is_glob ( ) const
inline

Definition at line 66 of file skip.c.

References m_file_is_glob.

Referenced by add_entry().

◆ function()

const std::string & skiplist_entry::function ( ) const
inline

Definition at line 68 of file skip.c.

References m_function.

Referenced by add_entry().

◆ function_is_regexp()

bool skiplist_entry::function_is_regexp ( ) const
inline

Definition at line 69 of file skip.c.

References m_function_is_regexp.

Referenced by add_entry().

◆ number()

int skiplist_entry::number ( ) const
inline

Definition at line 64 of file skip.c.

References m_number.

Referenced by skip_delete_command().

◆ operator=()

void skiplist_entry::operator= ( const skiplist_entry & )
delete

◆ skip_file_p()

bool skiplist_entry::skip_file_p ( const symtab_and_line & function_sal) const

◆ skip_function_p()

bool skiplist_entry::skip_function_p ( const char * function_name) const

Member Data Documentation

◆ m_compiled_function_regexp

gdb::optional<compiled_regex> skiplist_entry::m_compiled_function_regexp
private

Definition at line 116 of file skip.c.

Referenced by skip_function_p(), and skiplist_entry().

◆ m_enabled

bool skiplist_entry::m_enabled = true
private

Definition at line 119 of file skip.c.

Referenced by disable(), enable(), and enabled().

◆ m_file

std::string skiplist_entry::m_file
private

Definition at line 105 of file skip.c.

Referenced by do_skip_file_p(), do_skip_gfile_p(), file(), skip_file_p(), and skiplist_entry().

◆ m_file_is_glob

bool skiplist_entry::m_file_is_glob
private

Definition at line 102 of file skip.c.

Referenced by file_is_glob(), skip_file_p(), and skiplist_entry().

◆ m_function

std::string skiplist_entry::m_function
private

Definition at line 113 of file skip.c.

Referenced by function(), skip_function_p(), and skiplist_entry().

◆ m_function_is_regexp

bool skiplist_entry::m_function_is_regexp
private

Definition at line 110 of file skip.c.

Referenced by function_is_regexp(), skip_function_p(), and skiplist_entry().

◆ m_number

int skiplist_entry::m_number = -1
private

Definition at line 98 of file skip.c.

Referenced by number().


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