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

#include "psymtab.h"

Inheritance diagram for partial_symtab:
standard_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, 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 *)
 
virtual bool readin_p (struct objfile *) const =0
 
virtual struct compunit_symtabget_compunit_symtab (struct objfile *) const =0
 
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

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 222 of file psymtab.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,
unrelocated_addr addr )

Definition at line 1111 of file psymtab.c.

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

◆ ~partial_symtab()

virtual partial_symtab::~partial_symtab ( )
inlinevirtual

Definition at line 246 of file psymtab.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,
unrelocated_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 1124 of file psymtab.c.

References global_psymbols, s1, s2, and static_psymbols.

Referenced by dbx_end_psymtab(), 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 legacy_psymtab.

Referenced by expand_dependencies().

◆ get_compunit_symtab()

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

◆ read_symtab()

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

Implemented in 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 ( unrelocated_addr addr)
inline

◆ set_text_low()

void partial_symtab::set_text_low ( unrelocated_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

◆ unrelocated_text_high()

unrelocated_addr partial_symtab::unrelocated_text_high ( ) const
inline

Definition at line 293 of file psymtab.h.

References m_text_high.

Referenced by dbx_end_psymtab(), parse_partial_symbols(), read_dbx_symtab(), and scan_xcoff_symtab().

◆ unrelocated_text_low()

unrelocated_addr partial_symtab::unrelocated_text_low ( ) const
inline

Definition at line 286 of file psymtab.h.

References m_text_low.

Referenced by dbx_end_psymtab(), parse_partial_symbols(), partial_symtab(), and read_dbx_symtab().

Member Data Documentation

◆ anonymous

bool partial_symtab::anonymous = false

Definition at line 460 of file psymtab.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 389 of file psymtab.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 385 of file psymtab.h.

Referenced by psymtab_to_fullname().

◆ global_psymbols

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

◆ m_text_high

unrelocated_addr partial_symtab::m_text_high {}

Definition at line 399 of file psymtab.h.

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

◆ m_text_low

unrelocated_addr partial_symtab::m_text_low {}

Definition at line 398 of file psymtab.h.

Referenced by set_text_low(), text_low(), and unrelocated_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 464 of file psymtab.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 469 of file psymtab.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: