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

#include "psymtab.h"

Inheritance diagram for standard_psymtab:
partial_symtab legacy_psymtab

Public Member Functions

 standard_psymtab (const char *filename, psymtab_storage *partial_symtabs, objfile_per_bfd_storage *objfile_per_bfd)
 
 standard_psymtab (const char *filename, psymtab_storage *partial_symtabs, objfile_per_bfd_storage *objfile_per_bfd, unrelocated_addr addr)
 
bool readin_p (struct objfile *) const override
 
struct compunit_symtabget_compunit_symtab (struct objfile *) const override
 
- Public Member Functions inherited from partial_symtab
 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, unrelocated_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 *)
 
unrelocated_addr unrelocated_text_low () const
 
unrelocated_addr unrelocated_text_high () const
 
CORE_ADDR text_low (struct objfile *objfile) const
 
CORE_ADDR text_high (struct objfile *objfile) const
 
void set_text_low (unrelocated_addr addr)
 
void set_text_high (unrelocated_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, unrelocated_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

bool readin = false
 
struct compunit_symtabcompunit_symtab = nullptr
 
- Public Attributes inherited from partial_symtab
struct partial_symtabnext = nullptr
 
const char * filename = nullptr
 
char * fullname = nullptr
 
const char * dirname = nullptr
 
unrelocated_addr m_text_low {}
 
unrelocated_addr m_text_high {}
 
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 475 of file psymtab.h.

Constructor & Destructor Documentation

◆ standard_psymtab() [1/2]

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

Definition at line 477 of file psymtab.h.

◆ standard_psymtab() [2/2]

standard_psymtab::standard_psymtab ( const char * filename,
psymtab_storage * partial_symtabs,
objfile_per_bfd_storage * objfile_per_bfd,
unrelocated_addr addr )
inline

Definition at line 484 of file psymtab.h.

Member Function Documentation

◆ get_compunit_symtab()

struct compunit_symtab * standard_psymtab::get_compunit_symtab ( struct objfile * ) const
inlineoverridevirtual

Implements partial_symtab.

Definition at line 497 of file psymtab.h.

References compunit_symtab.

◆ readin_p()

bool standard_psymtab::readin_p ( struct objfile * ) const
inlineoverridevirtual

Implements partial_symtab.

Definition at line 492 of file psymtab.h.

References readin.

Member Data Documentation

◆ compunit_symtab

struct compunit_symtab* standard_psymtab::compunit_symtab = nullptr

◆ readin

bool standard_psymtab::readin = false

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