mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-06-01 20:12:01 +08:00
Use SYMBOL_OBJFILE more.
gdb/ChangeLog: * cp-namespace.c (cp_lookup_symbol_imports_or_template): Use SYMBOL_OBJFILE. * findvar.c (default_read_var_value): Ditto. * jv-lang.c (add_class_symtab_symbol): Ditto. * parse.c (operator_check_standard): Ditto. * printcmd.c (address_info): Ditto. * symtab.c (fixup_symbol_section): Ditto. (skip_prologue_sal): Ditto. * tracepoint.c (scope_info): Ditto. * valops.c (find_function_in_inferior): Ditto. * guile/scm-symbol.c (syscm_eq_symbol_smob): Ditto. * python/py-symbol.c (set_symbol): Ditto.
This commit is contained in:
@ -473,7 +473,7 @@ cp_lookup_symbol_imports_or_template (const char *scope,
|
||||
struct cleanup *cleanups = make_cleanup (xfree, name_copy);
|
||||
const struct language_defn *lang = language_def (language_cplus);
|
||||
struct gdbarch *arch
|
||||
= get_objfile_arch (SYMBOL_SYMTAB (function)->objfile);
|
||||
= get_objfile_arch (SYMBOL_OBJFILE (function));
|
||||
const struct block *parent = BLOCK_SUPERBLOCK (block);
|
||||
|
||||
while (1)
|
||||
|
Reference in New Issue
Block a user