156 bool empty_p ()
const override;
174 int addr_string_len);
178 bool empty_p ()
const override;
201 bool empty_p ()
const override;
239 bool empty_p ()
const override;
264 const char *addr_string,
265 int addr_string_len);
292 = (function_name !=
nullptr ? xstrdup (function_name) :
nullptr);
std::unique_ptr< location_spec > location_spec_up
const explicit_location_spec * as_explicit_location_spec(const location_spec *locspec)
location_spec_up new_address_location_spec(CORE_ADDR addr, const char *addr_string, int addr_string_len)
static location_spec_up new_explicit_location_spec_function(const char *function_name)
const address_location_spec * as_address_location_spec(const location_spec *locspec)
const linespec_location_spec * as_linespec_location_spec(const location_spec *locspec)
location_spec_up string_to_location_spec_basic(const char **argp, const struct language_defn *language, symbol_name_match_type match_type)
const probe_location_spec * as_probe_location_spec(const location_spec *locspec)
location_spec_up string_to_location_spec(const char **argp, const struct language_defn *language, symbol_name_match_type match_type=symbol_name_match_type::WILD)
location_spec_up new_probe_location_spec(std::string &&probe)
location_spec_up new_linespec_location_spec(const char **linespec, symbol_name_match_type match_type)
location_spec_up string_to_explicit_location_spec(const char **argp, const struct language_defn *language, explicit_completion_info *completion_info)
bool empty_p() const override
std::string compute_string() const override
address_location_spec(CORE_ADDR addr, const char *addr_string, int addr_string_len)
location_spec_up clone() const override
const char * quoted_arg_end
const char * quoted_arg_start
bool saw_explicit_location_spec_option
~explicit_location_spec()
bool empty_p() const override
std::string compute_string() const override
symbol_name_match_type func_name_match_type
location_spec_up clone() const override
std::string to_linespec() const
enum offset_relative_sign sign
symbol_name_match_type match_type
location_spec_up clone() const override
std::string compute_string() const override
bool empty_p() const override
~linespec_location_spec()
linespec_location_spec(const char **linespec, symbol_name_match_type match_type)
virtual location_spec_up clone() const =0
virtual ~location_spec()=default
enum location_spec_type type() const
location_spec(const location_spec &other)
virtual std::string compute_string() const =0
location_spec(enum location_spec_type t)
enum location_spec_type m_type
void set_string(std::string &&string)
location_spec(enum location_spec_type t, std::string &&str)
const char * to_string() const
virtual bool empty_p() const =0
probe_location_spec(const probe_location_spec &other)=default
bool empty_p() const override
std::string compute_string() const override
probe_location_spec(std::string &&probe)
location_spec_up clone() const override