GDB (xrefs)
|
#include "symtab.h"
Public Member Functions | |
LONGEST | value_longest () const |
CORE_ADDR | value_address (objfile *objfile) const |
CORE_ADDR | value_address () const =delete |
unrelocated_addr | unrelocated_address () const |
unrelocated_addr | unrelocated_end_address () const |
minimal_symbol_type | type () const |
void | set_type (minimal_symbol_type type) |
unsigned long | size () const |
void | set_size (unsigned long size) |
bool | has_size () const |
bool | target_flag_1 () const |
void | set_target_flag_1 (bool target_flag_1) |
bool | target_flag_2 () const |
void | set_target_flag_2 (bool target_flag_2) |
bool | data_p () const |
bool | text_p () const |
bool | maybe_copied (objfile *objfile) const |
![]() | |
const char * | linkage_name () const |
const char * | natural_name () const |
const char * | print_name () const |
const char * | demangled_name () const |
const char * | search_name () const |
void | set_linkage_name (const char *linkage_name) |
void | set_demangled_name (const char *name, struct obstack *obstack) |
enum language | language () const |
void | set_language (enum language language, struct obstack *obstack) |
void | compute_and_set_names (gdb::string_view linkage_name, bool copy_name, struct objfile_per_bfd_storage *per_bfd, gdb::optional< hashval_t > hash=gdb::optional< hashval_t >()) |
CORE_ADDR | value_address () const |
void | set_value_address (CORE_ADDR address) |
unrelocated_addr | unrelocated_address () const |
void | set_unrelocated_address (unrelocated_addr addr) |
void | set_section_index (short idx) |
short | section_index () const |
struct obj_section * | obj_section (const struct objfile *objfile) const |
Public Attributes | ||
unsigned long | m_size | |
const char * | filename | |
__extension__ enum minimal_symbol_type | m_type: MINSYM_TYPE_BITS | |
unsigned int | created_by_gdb: 1 | |
unsigned int | m_target_flag_1: 1 | |
unsigned int | m_target_flag_2: 1 | |
unsigned int | m_has_size: 1 | |
unsigned int | name_set: 1 | |
struct minimal_symbol * | hash_next | |
struct minimal_symbol * | demangled_hash_next | |
![]() | ||
const char * | m_name | |
union { | ||
LONGEST ivalue | ||
const struct block * block | ||
const gdb_byte * bytes | ||
CORE_ADDR address | ||
unrelocated_addr unrel_addr | ||
const struct common_block * common_block | ||
struct symbol * chain | ||
} | m_value | |
union { | ||
struct obstack * obstack | ||
const char * demangled_name | ||
} | language_specific | |
__extension__ enum language | m_language: LANGUAGE_BITS | |
unsigned int | ada_mangled: 1 | |
short | m_section | |
bool minimal_symbol::data_p | ( | ) | const |
Definition at line 451 of file symtab.c.
References m_type, mst_abs, mst_bss, mst_data, mst_file_bss, and mst_file_data.
Referenced by find_pc_sect_compunit_symtab().
|
inline |
Definition at line 799 of file symtab.h.
References m_has_size.
Referenced by build_address_symbolic().
bool minimal_symbol::maybe_copied | ( | objfile * | objfile | ) | const |
Definition at line 476 of file symtab.c.
References objfile::flags, m_type, mst_bss, mst_data, objfile::object_format_has_copy_relocs, and OBJF_MAINLINE.
Referenced by get_msymbol_address(), and value_address().
|
inline |
Definition at line 791 of file symtab.h.
References m_has_size, m_size, and size().
Referenced by elf_rel_plt_read(), elf_symtab_read(), and ppc64_elf_make_msymbol_special().
|
inline |
Definition at line 813 of file symtab.h.
References m_target_flag_1, and target_flag_1().
Referenced by ppc_elfv2_elf_make_msymbol_special().
|
inline |
Definition at line 827 of file symtab.h.
References m_target_flag_2, and target_flag_2().
|
inline |
Definition at line 777 of file symtab.h.
References m_type, and type().
Referenced by coff_read_minsyms(), and minimal_symbol_reader::record_full().
|
inline |
Definition at line 784 of file symtab.h.
References m_size.
Referenced by build_address_symbolic(), csky_frame_unwind_cache(), dbx_end_psymtab(), elf_gnu_ifunc_resolve_by_got(), elf_symtab_read(), ld_so_xfer_auxv(), lookup_minimal_symbol_by_pc_section(), minimal_symbol_upper_bound(), mips_skip_pic_trampoline_code(), set_size(), and unrelocated_end_address().
|
inline |
Definition at line 806 of file symtab.h.
References m_target_flag_1.
Referenced by ppc_elfv2_skip_entrypoint(), and set_target_flag_1().
|
inline |
Definition at line 820 of file symtab.h.
References m_target_flag_2.
Referenced by set_target_flag_2().
bool minimal_symbol::text_p | ( | ) | const |
Definition at line 463 of file symtab.c.
References m_type, mst_data_gnu_ifunc, mst_file_text, mst_slot_got_plt, mst_solib_trampoline, mst_text, and mst_text_gnu_ifunc.
Referenced by print_msymbol_info().
|
inline |
Definition at line 770 of file symtab.h.
References m_type.
Referenced by ada_has_this_exception_support(), add_pe_forwarded_sym(), build_address_symbolic(), coff_read_minsyms(), compact_minimal_symbols(), compile_object_load(), convert_symbol_bmsym(), convert_symbol_bmsym(), elf_gnu_ifunc_resolve_by_got(), find_gnu_ifunc(), find_minsym_type_and_address(), find_pc_sect_line(), gcc_cplus_symbol_address(), gcc_symbol_address(), in_gnu_ifunc_stub(), global_symbol_searcher::is_suitable_msymbol(), lookup_minimal_symbol_by_pc_section(), lookup_minimal_symbol_text(), lookup_solib_trampoline_symbol_by_pc(), found_minimal_symbols::maybe_collect(), minsym_found(), msymbol_is_function(), set_type(), symbol_is_function_or_method(), and yyparse().
|
inline |
Definition at line 756 of file symtab.h.
References general_symbol_info::m_value.
Referenced by add_pe_forwarded_sym(), compact_minimal_symbols(), dbx_end_psymtab(), find_minsym_type_and_address(), gdb_bfd_lookup_symbol_from_symtab(), info_address_command(), lookup_minimal_symbol_by_pc_section(), minimal_symbol_is_less_than(), minimal_symbol_upper_bound(), mips_elf_make_msymbol_special(), read_dbx_symtab(), language_defn::read_var_value(), unrelocated_end_address(), and value_address().
|
inline |
Definition at line 763 of file symtab.h.
References size(), and unrelocated_address().
Referenced by lookup_minimal_symbol_by_pc_section().
|
delete |
CORE_ADDR minimal_symbol::value_address | ( | objfile * | objfile | ) | const |
Definition at line 439 of file symtab.c.
References get_msymbol_address(), maybe_copied(), objfile::section_offsets, and unrelocated_address().
Referenced by arm_skip_cmse_entry(), convert_symbol_bmsym(), convert_symbol_bmsym(), hppa_symbol_address(), info_symbol_command(), jit_breakpoint_re_set_internal(), jit_read_descriptor(), lookup_minimal_symbol_by_pc_name(), minimal_symbol_upper_bound(), minsym_found(), msymbol_is_function(), process_one_symbol(), simple_overlay_update(), and bound_minimal_symbol::value_address().
|
inline |
Definition at line 742 of file symtab.h.
References general_symbol_info::m_value.
unsigned int minimal_symbol::created_by_gdb |
Definition at line 847 of file symtab.h.
Referenced by elf_symtab_read().
struct minimal_symbol* minimal_symbol::demangled_hash_next |
Definition at line 870 of file symtab.h.
Referenced by add_minsym_to_demangled_hash_table(), build_minimal_symbol_hash_tables(), and lookup_minimal_symbol_demangled().
const char* minimal_symbol::filename |
Definition at line 839 of file symtab.h.
Referenced by elf_symtab_read(), and found_minimal_symbols::maybe_collect().
struct minimal_symbol* minimal_symbol::hash_next |
Definition at line 865 of file symtab.h.
Referenced by add_minsym_to_hash_table(), build_minimal_symbol_hash_tables(), lookup_minimal_symbol_by_pc_name(), lookup_minimal_symbol_mangled(), and lookup_minimal_symbol_text().
unsigned int minimal_symbol::m_has_size |
Definition at line 856 of file symtab.h.
Referenced by has_size(), and set_size().
unsigned long minimal_symbol::m_size |
Definition at line 836 of file symtab.h.
Referenced by set_size(), and size().
unsigned int minimal_symbol::m_target_flag_1 |
Definition at line 850 of file symtab.h.
Referenced by set_target_flag_1(), and target_flag_1().
unsigned int minimal_symbol::m_target_flag_2 |
Definition at line 851 of file symtab.h.
Referenced by set_target_flag_2(), and target_flag_2().
__extension__ enum minimal_symbol_type minimal_symbol::m_type |
Definition at line 843 of file symtab.h.
Referenced by data_p(), maybe_copied(), set_type(), text_p(), and type().