GDB (xrefs)
Loading...
Searching...
No Matches
Public Member Functions | Public Attributes | List of all members
partial_symtab Struct Referenceabstract

#include "psympriv.h"

Inheritance diagram for partial_symtab:
standard_psymtab ctf_psymtab legacy_psymtab

Public Member Functions

 partial_symtab (const char *filename, psymtab_storage *partial_symtabs, objfile_per_bfd_storage *objfile_per_bfd) ATTRIBUTE_NONNULL(2) ATTRIBUTE_NONNULL(3)
 
 partial_symtab (const char *filename, psymtab_storage *partial_symtabs, objfile_per_bfd_storage *objfile_per_bfd, CORE_ADDR addr) ATTRIBUTE_NONNULL(2) ATTRIBUTE_NONNULL(3)
 
virtual ~partial_symtab ()
 
virtual void read_symtab (struct objfile *)=0
 
virtual void expand_psymtab (struct objfile *)=0
 
void expand_dependencies (struct objfile *)
 
virtual bool readin_p (struct objfile *) const =0
 
virtual struct compunit_symtabget_compunit_symtab (struct objfile *) const =0
 
CORE_ADDR raw_text_low () const
 
CORE_ADDR raw_text_high () const
 
CORE_ADDR text_low (struct objfile *objfile) const
 
CORE_ADDR text_high (struct objfile *objfile) const
 
void set_text_low (CORE_ADDR addr)
 
void set_text_high (CORE_ADDR addr)
 
bool empty () const
 
void add_psymbol (gdb::string_view name, bool copy_name, domain_enum domain, enum address_class theclass, short section, psymbol_placement where, CORE_ADDR coreaddr, enum language language, psymtab_storage *partial_symtabs, struct objfile *objfile)
 
void add_psymbol (const partial_symbol &psym, psymbol_placement where, psymtab_storage *partial_symtabs, struct objfile *objfile)
 
void end ()
 

Public Attributes

struct partial_symtabnext = nullptr
 
const char * filename = nullptr
 
char * fullname = nullptr
 
const char * dirname = nullptr
 
CORE_ADDR m_text_low = 0
 
CORE_ADDR m_text_high = 0
 
struct partial_symtabuser = nullptr
 
struct partial_symtab ** dependencies = nullptr
 
int number_of_dependencies = 0
 
std::vector< partial_symbol * > global_psymbols
 
std::vector< partial_symbol * > static_psymbols
 
bool anonymous = false
 
__extension__ enum psymtab_search_status searched_flag: 2
 
unsigned int text_low_valid: 1
 
unsigned int text_high_valid: 1
 

Detailed Description

Definition at line 112 of file psympriv.h.

Constructor & Destructor Documentation

◆ partial_symtab() [1/2]

partial_symtab::partial_symtab ( const char *  filename,
psymtab_storage partial_symtabs,
objfile_per_bfd_storage objfile_per_bfd 
)

◆ partial_symtab() [2/2]

partial_symtab::partial_symtab ( const char *  filename,
psymtab_storage partial_symtabs,
objfile_per_bfd_storage objfile_per_bfd,
CORE_ADDR  addr 
)

Definition at line 1180 of file psymtab.c.

References raw_text_low(), set_text_high(), and set_text_low().

◆ ~partial_symtab()

virtual partial_symtab::~partial_symtab ( )
inlinevirtual

Definition at line 136 of file psympriv.h.

Member Function Documentation

◆ add_psymbol() [1/2]

void partial_symtab::add_psymbol ( const partial_symbol psym,
psymbol_placement  where,
psymtab_storage partial_symtabs,
struct objfile objfile 
)

◆ add_psymbol() [2/2]

void partial_symtab::add_psymbol ( gdb::string_view  name,
bool  copy_name,
domain_enum  domain,
enum address_class  theclass,
short  section,
psymbol_placement  where,
CORE_ADDR  coreaddr,
enum language language  ,
psymtab_storage partial_symtabs,
struct objfile objfile 
)

◆ empty()

bool partial_symtab::empty ( ) const
inline

◆ end()

void partial_symtab::end ( )

Definition at line 1193 of file psymtab.c.

References global_psymbols, s1, s2, and static_psymbols.

Referenced by dbx_end_psymtab(), scan_partial_symbols(), and xcoff_end_psymtab().

◆ expand_dependencies()

void partial_symtab::expand_dependencies ( struct objfile objfile)

◆ expand_psymtab()

virtual void partial_symtab::expand_psymtab ( struct objfile )
pure virtual

Implemented in ctf_psymtab, and legacy_psymtab.

Referenced by expand_dependencies().

◆ get_compunit_symtab()

virtual struct compunit_symtab * partial_symtab::get_compunit_symtab ( struct objfile ) const
pure virtual

◆ raw_text_high()

CORE_ADDR partial_symtab::raw_text_high ( ) const
inline

◆ raw_text_low()

CORE_ADDR partial_symtab::raw_text_low ( ) const
inline

◆ read_symtab()

virtual void partial_symtab::read_symtab ( struct objfile )
pure virtual

Implemented in ctf_psymtab, and legacy_psymtab.

Referenced by psymtab_to_symtab().

◆ readin_p()

virtual bool partial_symtab::readin_p ( struct objfile ) const
pure virtual

◆ set_text_high()

void partial_symtab::set_text_high ( CORE_ADDR  addr)
inline

◆ set_text_low()

void partial_symtab::set_text_low ( CORE_ADDR  addr)
inline

◆ text_high()

CORE_ADDR partial_symtab::text_high ( struct objfile objfile) const
inline

◆ text_low()

CORE_ADDR partial_symtab::text_low ( struct objfile objfile) const
inline

Member Data Documentation

◆ anonymous

bool partial_symtab::anonymous = false

Definition at line 348 of file psympriv.h.

Referenced by dump_psymtab(), and psymtab_to_fullname().

◆ dependencies

struct partial_symtab** partial_symtab::dependencies = nullptr

◆ dirname

const char* partial_symtab::dirname = nullptr

Definition at line 277 of file psympriv.h.

Referenced by psymtab_to_fullname(), and read_dbx_symtab().

◆ filename

const char* partial_symtab::filename = nullptr

◆ fullname

char* partial_symtab::fullname = nullptr

Definition at line 273 of file psympriv.h.

Referenced by psymtab_to_fullname().

◆ global_psymbols

std::vector<partial_symbol *> partial_symtab::global_psymbols

◆ m_text_high

CORE_ADDR partial_symtab::m_text_high = 0

Definition at line 287 of file psympriv.h.

Referenced by raw_text_high(), set_text_high(), and text_high().

◆ m_text_low

CORE_ADDR partial_symtab::m_text_low = 0

Definition at line 286 of file psympriv.h.

Referenced by raw_text_low(), set_text_low(), and text_low().

◆ next

struct partial_symtab* partial_symtab::next = nullptr

◆ number_of_dependencies

int partial_symtab::number_of_dependencies = 0

◆ searched_flag

__extension__ enum psymtab_search_status partial_symtab::searched_flag

Definition at line 352 of file psympriv.h.

Referenced by recursively_search_psymtabs().

◆ static_psymbols

std::vector<partial_symbol *> partial_symtab::static_psymbols

◆ text_high_valid

unsigned int partial_symtab::text_high_valid

Definition at line 357 of file psympriv.h.

Referenced by dbx_end_psymtab(), mdebug_expand_psymtab(), and set_text_high().

◆ text_low_valid

unsigned int partial_symtab::text_low_valid

◆ user

struct partial_symtab* partial_symtab::user = nullptr

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