Classes |
struct | cplus_specific |
struct | general_symbol_info |
struct | minimal_symbol |
struct | symbol_computed_ops |
struct | symbol_block_ops |
struct | symbol_register_ops |
struct | symbol_impl |
struct | symbol |
struct | template_symbol |
struct | linetable_entry |
struct | linetable |
struct | section_offsets |
struct | symtab |
struct | field_of_this_result |
struct | gnu_ifunc_fns |
struct | symtab_and_line |
struct | symtabs_and_lines |
struct | symbol_search |
Defines |
#define | SYMBOL_VALUE(symbol) (symbol)->ginfo.value.ivalue |
#define | SYMBOL_VALUE_ADDRESS(symbol) (symbol)->ginfo.value.address |
#define | SYMBOL_VALUE_BYTES(symbol) (symbol)->ginfo.value.bytes |
#define | SYMBOL_VALUE_COMMON_BLOCK(symbol) (symbol)->ginfo.value.common_block |
#define | SYMBOL_BLOCK_VALUE(symbol) (symbol)->ginfo.value.block |
#define | SYMBOL_VALUE_CHAIN(symbol) (symbol)->ginfo.value.chain |
#define | SYMBOL_LANGUAGE(symbol) (symbol)->ginfo.language |
#define | SYMBOL_SECTION(symbol) (symbol)->ginfo.section |
#define | SYMBOL_OBJ_SECTION(objfile, symbol) |
#define | SYMBOL_SET_LANGUAGE(symbol, language, obstack) (symbol_set_language (&(symbol)->ginfo, (language), (obstack))) |
#define | SYMBOL_SET_LINKAGE_NAME(symbol, linkage_name) (symbol)->ginfo.name = (linkage_name) |
#define | SYMBOL_SET_NAMES(symbol, linkage_name, len, copy_name, objfile) symbol_set_names (&(symbol)->ginfo, linkage_name, len, copy_name, objfile) |
#define | SYMBOL_NATURAL_NAME(symbol) (symbol_natural_name (&(symbol)->ginfo)) |
#define | SYMBOL_LINKAGE_NAME(symbol) (symbol)->ginfo.name |
#define | SYMBOL_DEMANGLED_NAME(symbol) (symbol_demangled_name (&(symbol)->ginfo)) |
#define | SYMBOL_PRINT_NAME(symbol) (demangle ? SYMBOL_NATURAL_NAME (symbol) : SYMBOL_LINKAGE_NAME (symbol)) |
#define | SYMBOL_SEARCH_NAME(symbol) (symbol_search_name (&(symbol)->ginfo)) |
#define | SYMBOL_MATCHES_SEARCH_NAME(symbol, name) (strcmp_iw (SYMBOL_SEARCH_NAME (symbol), (name)) == 0) |
#define | MSYMBOL_TARGET_FLAG_1(msymbol) (msymbol)->target_flag_1 |
#define | MSYMBOL_TARGET_FLAG_2(msymbol) (msymbol)->target_flag_2 |
#define | MSYMBOL_SIZE(msymbol) ((msymbol)->size + 0) |
#define | SET_MSYMBOL_SIZE(msymbol, sz) |
#define | MSYMBOL_HAS_SIZE(msymbol) ((msymbol)->has_size + 0) |
#define | MSYMBOL_TYPE(msymbol) (msymbol)->type |
#define | SYMBOL_ACLASS_BITS 6 |
#define | SYMBOL_DOMAIN(symbol) (symbol)->domain |
#define | SYMBOL_IMPL(symbol) (symbol_impls[(symbol)->aclass_index]) |
#define | SYMBOL_ACLASS_INDEX(symbol) (symbol)->aclass_index |
#define | SYMBOL_CLASS(symbol) (SYMBOL_IMPL (symbol).aclass) |
#define | SYMBOL_IS_ARGUMENT(symbol) (symbol)->is_argument |
#define | SYMBOL_INLINED(symbol) (symbol)->is_inlined |
#define | SYMBOL_IS_CPLUS_TEMPLATE_FUNCTION(symbol) (symbol)->is_cplus_template_function |
#define | SYMBOL_TYPE(symbol) (symbol)->type |
#define | SYMBOL_LINE(symbol) (symbol)->line |
#define | SYMBOL_SYMTAB(symbol) (symbol)->symtab |
#define | SYMBOL_COMPUTED_OPS(symbol) (SYMBOL_IMPL (symbol).ops_computed) |
#define | SYMBOL_BLOCK_OPS(symbol) (SYMBOL_IMPL (symbol).ops_block) |
#define | SYMBOL_REGISTER_OPS(symbol) (SYMBOL_IMPL (symbol).ops_register) |
#define | SYMBOL_LOCATION_BATON(symbol) (symbol)->aux_value |
#define | SYMBOL_OBJFILE(symbol) (SYMBOL_SYMTAB (symbol)->objfile) |
#define | ANOFFSET(secoff, whichone) |
#define | SIZEOF_N_SECTION_OFFSETS(n) |
#define | BLOCKVECTOR(symtab) (symtab)->blockvector |
#define | LINETABLE(symtab) (symtab)->linetable |
#define | SYMTAB_PSPACE(symtab) (symtab)->objfile->pspace |
#define | VTBL_FNADDR_OFFSET 2 |
#define | gnu_ifunc_resolve_addr gnu_ifunc_fns_p->gnu_ifunc_resolve_addr |
#define | gnu_ifunc_resolve_name gnu_ifunc_fns_p->gnu_ifunc_resolve_name |
#define | gnu_ifunc_resolver_stop gnu_ifunc_fns_p->gnu_ifunc_resolver_stop |
#define | gnu_ifunc_resolver_return_stop gnu_ifunc_fns_p->gnu_ifunc_resolver_return_stop |
Typedefs |
typedef enum domain_enum_tag | domain_enum |
typedef struct symtab * | symtab_ptr |
typedef int( | symbol_found_callback_ftype )(struct symbol *sym, void *data) |
Enumerations |
enum | minimal_symbol_type {
mst_unknown = 0,
mst_text,
mst_text_gnu_ifunc,
mst_slot_got_plt,
mst_data,
mst_bss,
mst_abs,
mst_solib_trampoline,
mst_file_text,
mst_file_data,
mst_file_bss
} |
enum | domain_enum_tag {
UNDEF_DOMAIN,
VAR_DOMAIN,
STRUCT_DOMAIN,
LABEL_DOMAIN,
COMMON_BLOCK_DOMAIN
} |
enum | search_domain { VARIABLES_DOMAIN = 0,
FUNCTIONS_DOMAIN = 1,
TYPES_DOMAIN = 2,
ALL_DOMAIN = 3
} |
enum | address_class {
LOC_UNDEF,
LOC_CONST,
LOC_STATIC,
LOC_REGISTER,
LOC_ARG,
LOC_REF_ARG,
LOC_REGPARM_ADDR,
LOC_LOCAL,
LOC_TYPEDEF,
LOC_LABEL,
LOC_BLOCK,
LOC_CONST_BYTES,
LOC_UNRESOLVED,
LOC_OPTIMIZED_OUT,
LOC_COMPUTED,
LOC_COMMON_BLOCK,
LOC_FINAL_VALUE
} |
enum | print_source_lines_flags { PRINT_SOURCE_LINES_NOERROR = (1 << 0),
PRINT_SOURCE_LINES_FILENAME = (1 << 1)
} |
Functions |
void | symbol_set_demangled_name (struct general_symbol_info *, const char *, struct obstack *) |
const char * | symbol_get_demangled_name (const struct general_symbol_info *) |
CORE_ADDR | symbol_overlayed_address (CORE_ADDR, struct obj_section *) |
void | symbol_set_language (struct general_symbol_info *symbol, enum language language, struct obstack *obstack) |
void | symbol_set_names (struct general_symbol_info *symbol, const char *linkage_name, int len, int copy_name, struct objfile *objfile) |
const char * | symbol_natural_name (const struct general_symbol_info *symbol) |
const char * | symbol_demangled_name (const struct general_symbol_info *symbol) |
const char * | symbol_search_name (const struct general_symbol_info *) |
const char * | domain_name (domain_enum) |
const char * | search_domain_name (enum search_domain) |
int | register_symbol_computed_impl (enum address_class, const struct symbol_computed_ops *) |
int | register_symbol_block_impl (enum address_class aclass, const struct symbol_block_ops *ops) |
int | register_symbol_register_impl (enum address_class, const struct symbol_register_ops *) |
| DEF_VEC_P (symtab_ptr) |
const char * | multiple_symbols_select_mode (void) |
int | symbol_matches_domain (enum language symbol_language, domain_enum symbol_domain, domain_enum domain) |
struct symtab * | lookup_symtab (const char *) |
struct symbol * | lookup_symbol_in_language (const char *, const struct block *, const domain_enum, enum language, struct field_of_this_result *) |
struct symbol * | lookup_symbol (const char *, const struct block *, const domain_enum, struct field_of_this_result *) |
struct symbol * | basic_lookup_symbol_nonlocal (const char *, const struct block *, const domain_enum) |
struct symbol * | lookup_symbol_static (const char *name, const struct block *block, const domain_enum domain) |
struct symbol * | lookup_symbol_global (const char *name, const struct block *block, const domain_enum domain) |
struct symbol * | lookup_symbol_aux_block (const char *name, const struct block *block, const domain_enum domain) |
struct symbol * | lookup_language_this (const struct language_defn *lang, const struct block *block) |
struct symbol * | lookup_static_symbol_aux (const char *name, const domain_enum domain) |
struct symbol * | lookup_block_symbol (const struct block *, const char *, const domain_enum) |
struct type * | lookup_struct (const char *, const struct block *) |
struct type * | lookup_union (const char *, const struct block *) |
struct type * | lookup_enum (const char *, const struct block *) |
struct symbol * | find_pc_function (CORE_ADDR) |
struct symbol * | find_pc_sect_function (CORE_ADDR, struct obj_section *) |
int | find_pc_partial_function_gnu_ifunc (CORE_ADDR pc, const char **name, CORE_ADDR *address, CORE_ADDR *endaddr, int *is_gnu_ifunc_p) |
int | find_pc_partial_function (CORE_ADDR, const char **, CORE_ADDR *, CORE_ADDR *) |
void | clear_pc_function_cache (void) |
struct symtab * | find_pc_sect_symtab_via_partial (CORE_ADDR, struct obj_section *) |
struct symtab * | find_pc_symtab (CORE_ADDR) |
struct symtab * | find_pc_sect_symtab (CORE_ADDR, struct obj_section *) |
int | find_pc_line_pc_range (CORE_ADDR, CORE_ADDR *, CORE_ADDR *) |
void | reread_symbols (void) |
struct type * | lookup_transparent_type (const char *) |
struct type * | basic_lookup_transparent_type (const char *) |
int | in_gnu_ifunc_stub (CORE_ADDR pc) |
CORE_ADDR | find_solib_trampoline_target (struct frame_info *, CORE_ADDR) |
void | init_sal (struct symtab_and_line *sal) |
struct symtab_and_line | find_pc_line (CORE_ADDR, int) |
struct symtab_and_line | find_pc_sect_line (CORE_ADDR, struct obj_section *, int) |
int | find_line_pc (struct symtab *, int, CORE_ADDR *) |
int | find_line_pc_range (struct symtab_and_line, CORE_ADDR *, CORE_ADDR *) |
void | resolve_sal_pc (struct symtab_and_line *) |
void | clear_solib (void) |
int | identify_source_line (struct symtab *, int, int, CORE_ADDR) |
void | print_source_lines (struct symtab *, int, int, enum print_source_lines_flags) |
void | forget_cached_source_info_for_objfile (struct objfile *) |
void | forget_cached_source_info (void) |
void | select_source_symtab (struct symtab *) |
| VEC (char_ptr)*default_make_symbol_completion_list_break_on(const char *text |
const char enum type_code
const char const char enum
type_code const char const
char const char const char
const char *int | matching_obj_sections (struct obj_section *, struct obj_section *) |
struct symtab * | find_line_symtab (struct symtab *, int, int *, int *) |
struct symtab_and_line | find_function_start_sal (struct symbol *sym, int) |
void | skip_prologue_sal (struct symtab_and_line *) |
void | clear_symtab_users (int add_flags) |
enum language | deduce_language_from_filename (const char *) |
int | in_prologue (struct gdbarch *gdbarch, CORE_ADDR pc, CORE_ADDR func_start) |
CORE_ADDR | skip_prologue_using_sal (struct gdbarch *gdbarch, CORE_ADDR func_addr) |
struct symbol * | fixup_symbol_section (struct symbol *, struct objfile *) |
void | search_symbols (char *, enum search_domain, int, char **, struct symbol_search **) |
void | free_search_symbols (struct symbol_search *) |
struct cleanup * | make_cleanup_free_search_symbols (struct symbol_search **) |
void | set_main_name (const char *name) |
char * | main_name (void) |
struct symbol * | lookup_global_symbol_from_objfile (const struct objfile *, const char *name, const domain_enum domain) |
int | producer_is_realview (const char *producer) |
void | fixup_section (struct general_symbol_info *ginfo, CORE_ADDR addr, struct objfile *objfile) |
struct objfile * | lookup_objfile_from_block (const struct block *block) |
int | compare_filenames_for_search (const char *filename, const char *search_name) |
int | iterate_over_some_symtabs (const char *name, const char *real_path, int(*callback)(struct symtab *symtab, void *data), void *data, struct symtab *first, struct symtab *after_last) |
void | iterate_over_symtabs (const char *name, int(*callback)(struct symtab *symtab, void *data), void *data) |
| DEF_VEC_I (CORE_ADDR) |
| VEC (CORE_ADDR)*find_pcs_for_symtab_line(struct symtab *symtab |
void | iterate_over_symbols (const struct block *block, const char *name, const domain_enum domain, symbol_found_callback_ftype *callback, void *data) |
struct cleanup * | demangle_for_lookup (const char *name, enum language lang, const char **result_name) |
struct symbol * | allocate_symbol (struct objfile *) |
void | initialize_symbol (struct symbol *) |
struct template_symbol * | allocate_template_symbol (struct objfile *) |
Variables |
int | demangle |
struct symbol_impl * | symbol_impls |
int | currently_reading_symtab |
const char | multiple_symbols_ask [] |
const char | multiple_symbols_all [] |
const char | multiple_symbols_cancel [] |
struct gnu_ifunc_fns * | gnu_ifunc_fns_p |
const char * | word |
const char const char * | break_on |
const char const char enum
type_code | code |
enum language | language_of_main |
int | symtab_create_debug |
int | basenames_may_differ |
int | line |
int struct linetable_entry ** | best_entry |