|
GDB (xrefs)
|
#include "minsyms.h"
Public Member Functions | |
| minimal_symbol_reader (struct objfile *) | |
| ~minimal_symbol_reader () | |
| void | install () |
| struct minimal_symbol * | record_full (const char *name, int name_len, bool copy_name, CORE_ADDR address, enum minimal_symbol_type ms_type, int section) |
| void | record (const char *name, CORE_ADDR address, enum minimal_symbol_type ms_type) |
| struct minimal_symbol * | record_with_info (const char *name, CORE_ADDR address, enum minimal_symbol_type ms_type, int section) |
Private Member Functions | |
| minimal_symbol_reader & | operator= (const minimal_symbol_reader &) |
| minimal_symbol_reader (const minimal_symbol_reader &) | |
Private Attributes | |
| struct objfile * | m_objfile |
| struct msym_bunch * | m_msym_bunch |
| int | m_msym_bunch_index |
| int | m_msym_count |
|
explicit |
| minimal_symbol_reader::~minimal_symbol_reader | ( | ) |
Definition at line 1070 of file minsyms.c.
References m_msym_bunch, msym_bunch::next, and xfree().
|
private |
| void minimal_symbol_reader::install | ( | ) |
Definition at line 1346 of file minsyms.c.
References build_minimal_symbol_hash_tables(), BUNCH_SIZE, compact_minimal_symbols(), compare_minimal_symbols(), msym_bunch::contents, fprintf_unfiltered(), gdb_stdlog, m_msym_bunch, m_msym_bunch_index, m_msym_count, m_objfile, memset(), objfile_per_bfd_storage::minimal_symbol_count, objfile_per_bfd_storage::minsyms_read, objfile_per_bfd_storage::msymbols, msym_bunch::next, objfile_name(), objfile::per_bfd, qsort, objfile_per_bfd_storage::storage_obstack, and symtab_create_debug.
Referenced by coff_symfile_read(), dbx_symfile_read(), elf_read_minimal_symbols(), elfmdebug_build_psymtabs(), macho_symfile_read(), mipscoff_symfile_read(), and xcoff_initial_scan().
|
private |
| void minimal_symbol_reader::record | ( | const char * | name, |
| CORE_ADDR | address, | ||
| enum minimal_symbol_type | ms_type | ||
| ) |
Definition at line 1085 of file minsyms.c.
References m_objfile, mst_bss, mst_data, mst_file_bss, mst_file_data, mst_file_text, mst_solib_trampoline, mst_text, mst_text_gnu_ifunc, name, record_with_info(), SECT_OFF_BSS, SECT_OFF_DATA, and SECT_OFF_TEXT.
Referenced by read_alphacoff_dynamic_symtab().
| struct minimal_symbol * minimal_symbol_reader::record_full | ( | const char * | name, |
| int | name_len, | ||
| bool | copy_name, | ||
| CORE_ADDR | address, | ||
| enum minimal_symbol_type | ms_type, | ||
| int | section | ||
| ) |
Definition at line 1116 of file minsyms.c.
References BUNCH_SIZE, msym_bunch::contents, copy_name(), minimal_symbol::demangled_hash_next, GCC2_COMPILED_FLAG_SYMBOL, GCC_COMPILED_FLAG_SYMBOL, get_symbol_leading_char(), minimal_symbol::hash_next, language_auto, m_msym_bunch, m_msym_bunch_index, m_msym_count, m_objfile, objfile_per_bfd_storage::minsyms_read, mst_file_text, MSYMBOL_SECTION, MSYMBOL_SET_LANGUAGE, MSYMBOL_SET_NAMES, MSYMBOL_TARGET_FLAG_1, MSYMBOL_TARGET_FLAG_2, MSYMBOL_TYPE, objfile_per_bfd_storage::n_minsyms, name, msym_bunch::next, objfile::obfd, objfile::per_bfd, SET_MSYMBOL_VALUE_ADDRESS, minimal_symbol::size, startswith(), objfile_per_bfd_storage::storage_obstack, and XCNEW.
Referenced by record_minimal_symbol(), and record_with_info().
|
inline |
Definition at line 121 of file minsyms.h.
References name, and record_full().
Referenced by add_pe_exported_sym(), add_pe_forwarded_sym(), macho_symtab_add_minsym(), parse_partial_symbols(), record(), and record_minimal_symbol().
|
private |
Definition at line 141 of file minsyms.h.
Referenced by install(), record_full(), and ~minimal_symbol_reader().
|
private |
Definition at line 145 of file minsyms.h.
Referenced by install(), and record_full().
|
private |
Definition at line 150 of file minsyms.h.
Referenced by install(), and record_full().
|
private |
Definition at line 136 of file minsyms.h.
Referenced by install(), record(), and record_full().
1.8.14