|
GDB (xrefs)
|
#include "psymtab.h"Go to the source code of this file.
Classes | |
| struct | partial_symbol |
| struct | partial_symtab |
Macros | |
| #define | PSYMBOL_DOMAIN(psymbol) (psymbol)->domain |
| #define | PSYMBOL_CLASS(psymbol) (psymbol)->aclass |
| #define | ALL_OBJFILE_PSYMTABS(objfile, p) for ((p) = (objfile) -> psymtabs; (p) != NULL; (p) = (p) -> next) |
Enumerations | |
| enum | psymtab_search_status { PST_NOT_SEARCHED, PST_SEARCHED_AND_FOUND, PST_SEARCHED_AND_NOT_FOUND } |
Functions | |
| void | sort_pst_symbols (struct objfile *, struct partial_symtab *) |
| void | add_psymbol_to_list (const char *, int, int, domain_enum, enum address_class, struct psymbol_allocation_list *, long, CORE_ADDR, enum language, struct objfile *) |
| void | init_psymbol_list (struct objfile *, int) |
| struct partial_symtab * | start_psymtab_common (struct objfile *, const char *, CORE_ADDR, struct partial_symbol **, struct partial_symbol **) |
| struct partial_symtab * | allocate_psymtab (const char *, struct objfile *) ATTRIBUTE_NONNULL(1) |
| void | discard_psymtab (struct objfile *, struct partial_symtab *) |
| struct cleanup * | make_cleanup_discard_psymtabs (struct objfile *) |
| #define ALL_OBJFILE_PSYMTABS | ( | objfile, | |
| p | |||
| ) | for ((p) = (objfile) -> psymtabs; (p) != NULL; (p) = (p) -> next) |
Definition at line 235 of file psympriv.h.
Referenced by end_psymtab(), and parse_partial_symbols().
| #define PSYMBOL_CLASS | ( | psymbol | ) | (psymbol)->aclass |
Definition at line 57 of file psympriv.h.
Referenced by add_psymbol_to_bcache(), find_pc_sect_psymbol(), fixup_psymbol_section(), print_partial_symbols(), psymbol_compare(), psymbol_hash(), recursively_search_psymtabs(), and symbol_kind().
| #define PSYMBOL_DOMAIN | ( | psymbol | ) | (psymbol)->domain |
Definition at line 56 of file psympriv.h.
Referenced by add_psymbol_to_bcache(), psymbol_compare(), psymbol_hash(), and symbol_kind().
| Enumerator | |
|---|---|
| PST_NOT_SEARCHED | |
| PST_SEARCHED_AND_FOUND | |
| PST_SEARCHED_AND_NOT_FOUND | |
Definition at line 63 of file psympriv.h.
| void add_psymbol_to_list | ( | const char * | , |
| int | , | ||
| int | , | ||
| domain_enum | , | ||
| enum | address_class, | ||
| struct psymbol_allocation_list * | , | ||
| long | , | ||
| CORE_ADDR | , | ||
| enum | language, | ||
| struct objfile * | |||
| ) |
| struct partial_symtab* allocate_psymtab | ( | const char * | , |
| struct objfile * | |||
| ) |
Definition at line 1774 of file psymtab.c.
References bcache(), partial_symtab::compunit_symtab, partial_symtab::filename, objfile_per_bfd_storage::filename_cache, fprintf_unfiltered(), objfile::free_psymtabs, gdb_stdlog, host_address_to_string(), partial_symtab::next, objfile_name(), objfile::objfile_obstack, objfile::per_bfd, objfile::psymtabs, symtab_create_debug, and xfree().
Referenced by dwarf2_create_include_psymtab(), end_psymtab(), new_psymtab(), start_psymtab_common(), and xcoff_end_psymtab().
| void discard_psymtab | ( | struct objfile * | , |
| struct partial_symtab * | |||
| ) |
Definition at line 1824 of file psymtab.c.
References objfile::free_psymtabs, partial_symtab::next, and objfile::psymtabs.
Referenced by discard_psymtabs_upto(), end_psymtab(), and xcoff_end_psymtab().
Definition at line 1737 of file psymtab.c.
References objfile::global_psymbols, psymbol_allocation_list::list, psymbol_allocation_list::next, psymbol_allocation_list::size, objfile::static_psymbols, xfree(), and xmalloc().
Referenced by dbx_symfile_read(), dwarf2_build_psymtabs(), and xcoff_initial_scan().
Definition at line 1876 of file psymtab.c.
References discard_psymtabs_upto(), make_cleanup_dtor(), psymtab_state::objfile, objfile::psymtabs, psymtab_state::save, and xfree().
Referenced by dwarf2_build_psymtabs().
| void sort_pst_symbols | ( | struct objfile * | , |
| struct partial_symtab * | |||
| ) |
Definition at line 1501 of file psymtab.c.
References compare_psymbols(), objfile::global_psymbols, partial_symtab::globals_offset, psymbol_allocation_list::list, partial_symtab::n_global_syms, and qsort.
Referenced by build_type_psymtabs_reader(), end_psymtab(), process_psymtab_comp_unit_reader(), and xcoff_end_psymtab().
| struct partial_symtab* start_psymtab_common | ( | struct objfile * | , |
| const char * | , | ||
| CORE_ADDR | , | ||
| struct partial_symbol ** | , | ||
| struct partial_symbol ** | |||
| ) |
Definition at line 1516 of file psymtab.c.
References allocate_psymtab(), objfile::global_psymbols, partial_symtab::globals_offset, psymbol_allocation_list::list, objfile::static_psymbols, partial_symtab::statics_offset, partial_symtab::texthigh, and partial_symtab::textlow.
Referenced by create_partial_symtab(), parse_partial_symbols(), start_psymtab(), and xcoff_start_psymtab().
1.8.10