GDB (xrefs)
|
#include "location.h"
Public Member Functions | |
explicit_location_spec () | |
~explicit_location_spec () | |
location_spec_up | clone () const override |
bool | empty_p () const override |
std::string | to_linespec () const |
![]() | |
virtual | ~location_spec ()=default |
const char * | to_string () const |
void | set_string (std::string &&string) |
enum location_spec_type | type () const |
Public Attributes | |
char * | source_filename = nullptr |
char * | function_name = nullptr |
symbol_name_match_type | func_name_match_type = symbol_name_match_type::WILD |
char * | label_name = nullptr |
struct line_offset | line_offset |
Protected Member Functions | |
explicit_location_spec (const explicit_location_spec &other) | |
std::string | compute_string () const override |
![]() | |
location_spec (enum location_spec_type t) | |
location_spec (enum location_spec_type t, std::string &&str) | |
location_spec (const location_spec &other) | |
Additional Inherited Members | |
![]() | |
std::string | m_as_string |
Definition at line 193 of file location.h.
explicit_location_spec::explicit_location_spec | ( | ) |
Definition at line 164 of file location.c.
explicit_location_spec::~explicit_location_spec | ( | ) |
Definition at line 169 of file location.c.
References function_name, label_name, source_filename, and xfree().
|
protected |
Definition at line 176 of file location.c.
|
overridevirtual |
Implements location_spec.
Definition at line 188 of file location.c.
Referenced by canonicalize_linespec().
|
overrideprotectedvirtual |
Implements location_spec.
Definition at line 203 of file location.c.
References explicit_to_string_internal().
|
overridevirtual |
Implements location_spec.
Definition at line 194 of file location.c.
References function_name, label_name, LINE_OFFSET_UNKNOWN, line_offset::sign, and source_filename.
std::string explicit_location_spec::to_linespec | ( | ) | const |
Definition at line 344 of file location.c.
References explicit_to_string_internal().
Referenced by canonicalize_linespec().
symbol_name_match_type explicit_location_spec::func_name_match_type = symbol_name_match_type::WILD |
Definition at line 215 of file location.h.
Referenced by collect_explicit_location_matches(), convert_explicit_location_spec_to_linespec(), convert_explicit_location_spec_to_sals(), explicit_to_string_internal(), location_completer(), and string_to_location_spec().
char* explicit_location_spec::function_name = nullptr |
Definition at line 212 of file location.h.
Referenced by canonicalize_linespec(), collect_explicit_location_matches(), convert_explicit_location_spec_to_linespec(), convert_explicit_location_spec_to_sals(), decode_objc(), empty_p(), explicit_to_string_internal(), new_explicit_location_spec_function(), and ~explicit_location_spec().
char* explicit_location_spec::label_name = nullptr |
Definition at line 219 of file location.h.
Referenced by canonicalize_linespec(), collect_explicit_location_matches(), convert_explicit_location_spec_to_linespec(), convert_explicit_location_spec_to_sals(), empty_p(), explicit_to_string_internal(), and ~explicit_location_spec().
struct line_offset explicit_location_spec::line_offset |
Definition at line 224 of file location.h.
Referenced by convert_explicit_location_spec_to_linespec(), convert_explicit_location_spec_to_sals(), convert_linespec_to_sals(), create_sals_line_offset(), and explicit_to_string_internal().
char* explicit_location_spec::source_filename = nullptr |
Definition at line 209 of file location.h.
Referenced by collect_explicit_location_matches(), convert_explicit_location_spec_to_linespec(), convert_explicit_location_spec_to_sals(), convert_linespec_to_sals(), create_sals_line_offset(), decode_objc(), empty_p(), explicit_to_string_internal(), and ~explicit_location_spec().