gdb: remove SYMBOL_ACLASS_INDEX macro, add getter/setter

Add a getter and a setter for a symbol's aclass index.  Remove the
corresponding macro and adjust all callers.

Change-Id: Ie8c8d732624cfadb714aba5ddafa3d29409b3d39
This commit is contained in:
Simon Marchi 2021-11-21 22:03:07 -05:00
parent 81e32b6a84
commit ba44b1a3e0
9 changed files with 105 additions and 96 deletions

View file

@ -1002,7 +1002,7 @@ language_arch_info::type_and_symbol::alloc_type_symbol
symbol->set_section_index (0);
SYMBOL_TYPE (symbol) = type;
SYMBOL_DOMAIN (symbol) = VAR_DOMAIN;
SYMBOL_ACLASS_INDEX (symbol) = LOC_TYPEDEF;
symbol->set_aclass_index (LOC_TYPEDEF);
return symbol;
}