GDB (xrefs)
Loading...
Searching...
No Matches
Public Member Functions | Public Attributes | Protected Member Functions | List of all members
address_location_spec Struct Reference

#include "location.h"

Inheritance diagram for address_location_spec:
location_spec

Public Member Functions

 address_location_spec (CORE_ADDR addr, const char *addr_string, int addr_string_len)
 
location_spec_up clone () const override
 
bool empty_p () const override
 
- Public Member Functions inherited from location_spec
virtual ~location_spec ()=default
 
const char * to_string () const
 
void set_string (std::string &&string)
 
enum location_spec_type type () const
 

Public Attributes

CORE_ADDR address
 

Protected Member Functions

 address_location_spec (const address_location_spec &other)
 
std::string compute_string () const override
 
- Protected Member Functions inherited from location_spec
 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

- Protected Attributes inherited from location_spec
std::string m_as_string
 

Detailed Description

Definition at line 171 of file location.h.

Constructor & Destructor Documentation

◆ address_location_spec() [1/2]

address_location_spec::address_location_spec ( CORE_ADDR addr,
const char * addr_string,
int addr_string_len )

Definition at line 128 of file location.c.

References location_spec::m_as_string.

◆ address_location_spec() [2/2]

address_location_spec::address_location_spec ( const address_location_spec & other)
protected

Definition at line 150 of file location.c.

Member Function Documentation

◆ clone()

location_spec_up address_location_spec::clone ( ) const
overridevirtual

Implements location_spec.

Definition at line 139 of file location.c.

◆ compute_string()

std::string address_location_spec::compute_string ( ) const
overrideprotectedvirtual

Implements location_spec.

Definition at line 158 of file location.c.

References address.

◆ empty_p()

bool address_location_spec::empty_p ( ) const
overridevirtual

Implements location_spec.

Definition at line 145 of file location.c.

Member Data Documentation

◆ address

CORE_ADDR address_location_spec::address

Definition at line 180 of file location.h.

Referenced by compute_string(), and location_spec_to_sals().


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