forked from Imagelibrary/binutils-gdb
gdb: remove SYMTAB_BLOCKVECTOR macro
Remove the macro, replace with an equivalent method. Change-Id: Id6fe2a79c04bcd6c69ccaefb7a69bc06a476288c
This commit is contained in:
@@ -4384,9 +4384,9 @@ cache_symbol (const char *name, domain_enum domain, struct symbol *sym,
|
||||
the symbol is local or not, we check the block where we found it
|
||||
against the global and static blocks of its associated symtab. */
|
||||
if (sym
|
||||
&& BLOCKVECTOR_BLOCK (SYMTAB_BLOCKVECTOR (symbol_symtab (sym)),
|
||||
&& BLOCKVECTOR_BLOCK (symbol_symtab (sym)->blockvector (),
|
||||
GLOBAL_BLOCK) != block
|
||||
&& BLOCKVECTOR_BLOCK (SYMTAB_BLOCKVECTOR (symbol_symtab (sym)),
|
||||
&& BLOCKVECTOR_BLOCK (symbol_symtab (sym)->blockvector (),
|
||||
STATIC_BLOCK) != block)
|
||||
return;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user