49 struct minimal_symbol *
minsym =
nullptr;
124 enum minimal_symbol_type ms_type,
134 void record (
const char *name, CORE_ADDR address,
135 enum minimal_symbol_type ms_type);
144 enum minimal_symbol_type ms_type,
147 record_full (name,
true, address, ms_type, section);
154 struct objfile *m_objfile;
159 struct msym_bunch *m_msym_bunch;
163 int m_msym_bunch_index;
179 minimal_symbol *minsym,
180 CORE_ADDR *func_address_p = NULL);
196#define SYMBOL_HASH_NEXT(hash, c) \
197 ((hash) * 67 + TOLOWER ((unsigned char) (c)) - 113)
236 (const char *name,
struct objfile *objf)
237 ATTRIBUTE_NONNULL (1) ATTRIBUTE_NONNULL (2);
245 (CORE_ADDR, const
char *, struct objfile *);
304 (
struct objfile *objf,
const lookup_name_info &name,
305 gdb::function_view<
bool (
struct minimal_symbol *)> callback);
320 CORE_ADDR *address_p);
minimal_symbol_reader(struct objfile *)
struct minimal_symbol * record_full(gdb::string_view name, bool copy_name, CORE_ADDR address, enum minimal_symbol_type ms_type, int section)
void record_with_info(const char *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)
unsigned int msymbol_hash_iw(const char *)
unsigned int msymbol_hash(const char *)
void iterate_over_minimal_symbols(struct objfile *objf, const lookup_name_info &name, gdb::function_view< bool(struct minimal_symbol *)> callback)
CORE_ADDR minimal_symbol_upper_bound(struct bound_minimal_symbol minsym)
struct bound_minimal_symbol lookup_minimal_symbol_by_pc(CORE_ADDR)
struct bound_minimal_symbol lookup_bound_minimal_symbol(const char *)
type * find_minsym_type_and_address(minimal_symbol *msymbol, objfile *objf, CORE_ADDR *address_p)
struct minimal_symbol * lookup_minimal_symbol_by_pc_name(CORE_ADDR, const char *, struct objfile *)
bool msymbol_is_function(struct objfile *objfile, minimal_symbol *minsym, CORE_ADDR *func_address_p=NULL)
struct bound_minimal_symbol lookup_minimal_symbol_text(const char *, struct objfile *)
struct bound_minimal_symbol lookup_minimal_symbol_by_pc_section(CORE_ADDR pc_in, struct obj_section *section, lookup_msym_prefer prefer=lookup_msym_prefer::TEXT, bound_minimal_symbol *previous=nullptr)
struct bound_minimal_symbol lookup_minimal_symbol_linkage(const char *name, struct objfile *objf) ATTRIBUTE_NONNULL(1) ATTRIBUTE_NONNULL(2)
struct bound_minimal_symbol lookup_minimal_symbol(const char *, const char *, struct objfile *)
bound_minimal_symbol(struct minimal_symbol *msym, struct objfile *objf)
CORE_ADDR value_address() const
struct minimal_symbol * minsym
bound_minimal_symbol()=default
struct obj_section * obj_section() const