Replace symbol_symtab with symbol::symtab

This turns symbol_symtab into a method on symbol.  It also replaces
symbol_set_symtab with a method.
This commit is contained in:
Tom Tromey
2022-04-17 20:00:59 -06:00
parent bcd6845e2b
commit 4206d69e96
20 changed files with 76 additions and 76 deletions

View File

@@ -421,7 +421,7 @@ get_out_value_type (struct symbol *func_sym, struct objfile *objfile,
lookup_name_info func_matcher (GCC_FE_WRAPPER_FUNCTION,
symbol_name_match_type::SEARCH_NAME);
bv = symbol_symtab (func_sym)->compunit ()->blockvector ();
bv = func_sym->symtab ()->compunit ()->blockvector ();
nblocks = BLOCKVECTOR_NBLOCKS (bv);
gdb_ptr_type_sym = NULL;