GDB (xrefs)
Loading...
Searching...
No Matches
Classes | Typedefs | Enumerations | Functions
location.h File Reference
#include "symtab.h"

Go to the source code of this file.

Classes

struct  line_offset
 
struct  location_spec
 
struct  linespec_location_spec
 
struct  address_location_spec
 
struct  explicit_location_spec
 
struct  probe_location_spec
 
struct  explicit_completion_info
 

Typedefs

typedef std::unique_ptr< location_speclocation_spec_up
 

Enumerations

enum  offset_relative_sign { LINE_OFFSET_NONE , LINE_OFFSET_PLUS , LINE_OFFSET_MINUS , LINE_OFFSET_UNKNOWN }
 
enum  location_spec_type { LINESPEC_LOCATION_SPEC , ADDRESS_LOCATION_SPEC , EXPLICIT_LOCATION_SPEC , PROBE_LOCATION_SPEC }
 

Functions

location_spec_up new_linespec_location_spec (const char **linespec, symbol_name_match_type match_type)
 
const linespec_location_specas_linespec_location_spec (const location_spec *locspec)
 
location_spec_up new_address_location_spec (CORE_ADDR addr, const char *addr_string, int addr_string_len)
 
const address_location_specas_address_location_spec (const location_spec *locspec)
 
location_spec_up new_probe_location_spec (std::string &&probe)
 
const probe_location_specas_probe_location_spec (const location_spec *locspec)
 
static location_spec_up new_explicit_location_spec_function (const char *function_name)
 
const explicit_location_specas_explicit_location_spec (const location_spec *locspec)
 
explicit_location_specas_explicit_location_spec (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 string_to_location_spec_basic (const char **argp, const struct language_defn *language, 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)
 

Typedef Documentation

◆ location_spec_up

typedef std::unique_ptr<location_spec> location_spec_up

Definition at line 71 of file location.h.

Enumeration Type Documentation

◆ location_spec_type

Enumerator
LINESPEC_LOCATION_SPEC 
ADDRESS_LOCATION_SPEC 
EXPLICIT_LOCATION_SPEC 
PROBE_LOCATION_SPEC 

Definition at line 55 of file location.h.

◆ offset_relative_sign

Enumerator
LINE_OFFSET_NONE 
LINE_OFFSET_PLUS 
LINE_OFFSET_MINUS 
LINE_OFFSET_UNKNOWN 

Definition at line 29 of file location.h.

Function Documentation

◆ as_address_location_spec()

const address_location_spec * as_address_location_spec ( const location_spec * locspec)

Definition at line 240 of file location.c.

References ADDRESS_LOCATION_SPEC, and location_spec::type().

Referenced by location_spec_to_sals().

◆ as_explicit_location_spec() [1/2]

const explicit_location_spec * as_explicit_location_spec ( const location_spec * locspec)

◆ as_explicit_location_spec() [2/2]

explicit_location_spec * as_explicit_location_spec ( location_spec * locspec)

Definition at line 275 of file location.c.

References EXPLICIT_LOCATION_SPEC, and location_spec::type().

◆ as_linespec_location_spec()

const linespec_location_spec * as_linespec_location_spec ( const location_spec * locspec)
extern

◆ as_probe_location_spec()

const probe_location_spec * as_probe_location_spec ( const location_spec * locspec)

Definition at line 257 of file location.c.

References PROBE_LOCATION_SPEC, and location_spec::type().

◆ new_address_location_spec()

location_spec_up new_address_location_spec ( CORE_ADDR addr,
const char * addr_string,
int addr_string_len )
extern

◆ new_explicit_location_spec_function()

static location_spec_up new_explicit_location_spec_function ( const char * function_name)
inlinestatic

◆ new_linespec_location_spec()

location_spec_up new_linespec_location_spec ( const char ** linespec,
symbol_name_match_type match_type )
extern

◆ new_probe_location_spec()

location_spec_up new_probe_location_spec ( std::string && probe)
extern

◆ string_to_explicit_location_spec()

location_spec_up string_to_explicit_location_spec ( const char ** argp,
const struct language_defn * language,
explicit_completion_info * completion_info )
extern

◆ string_to_location_spec()

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 )
extern

◆ string_to_location_spec_basic()

location_spec_up string_to_location_spec_basic ( const char ** argp,
const struct language_defn * language,
symbol_name_match_type match_type )
extern