diff options
Diffstat (limited to 'gdb/cp-namespace.c')
-rw-r--r-- | gdb/cp-namespace.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/cp-namespace.c b/gdb/cp-namespace.c index 4366666..31075fe 100644 --- a/gdb/cp-namespace.c +++ b/gdb/cp-namespace.c @@ -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) |