diff options
author | Doug Evans <xdje42@gmail.com> | 2014-11-18 08:54:06 -0800 |
---|---|---|
committer | Doug Evans <xdje42@gmail.com> | 2014-11-18 08:54:06 -0800 |
commit | aff0895837de06af4e16b809d1f2eb17930297ad (patch) | |
tree | 54ec348c2e3c8aaceb27257337bb0eb6e1efb20c /gdb/jv-lang.c | |
parent | 7bab9b58fd9c05c20cbd56d778ffa05d9fe3af3e (diff) | |
download | gdb-aff0895837de06af4e16b809d1f2eb17930297ad.zip gdb-aff0895837de06af4e16b809d1f2eb17930297ad.tar.gz gdb-aff0895837de06af4e16b809d1f2eb17930297ad.tar.bz2 |
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.
Diffstat (limited to 'gdb/jv-lang.c')
-rw-r--r-- | gdb/jv-lang.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/jv-lang.c b/gdb/jv-lang.c index 421e665..69e8c16 100644 --- a/gdb/jv-lang.c +++ b/gdb/jv-lang.c @@ -172,7 +172,7 @@ static void add_class_symtab_symbol (struct symbol *sym) { struct symtab *symtab - = get_java_class_symtab (get_objfile_arch (SYMBOL_SYMTAB (sym)->objfile)); + = get_java_class_symtab (get_objfile_arch (SYMBOL_OBJFILE (sym))); const struct blockvector *bv = BLOCKVECTOR (symtab); dict_add_symbol (BLOCK_DICT (BLOCKVECTOR_BLOCK (bv, GLOBAL_BLOCK)), sym); |