mirror of
https://sourceware.org/git/binutils-gdb.git
synced 2025-03-13 13:49:00 +08:00
Use symbol_symtab accessor in compile-object-load.c
I noticed that compile-object-load.c directly references owner.symtab of a symbol. However, I think it's better for all users to call symbol_symtab. This patch makes this change.
This commit is contained in:
parent
65daf5bed6
commit
3b70bcb00f
@ -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 = func_sym->owner.symtab->compunit ()->blockvector ();
|
||||
bv = symbol_symtab (func_sym)->compunit ()->blockvector ();
|
||||
nblocks = BLOCKVECTOR_NBLOCKS (bv);
|
||||
|
||||
gdb_ptr_type_sym = NULL;
|
||||
|
Loading…
x
Reference in New Issue
Block a user