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:
parent
81e32b6a84
commit
ba44b1a3e0
9 changed files with 105 additions and 96 deletions
|
@ -1574,7 +1574,7 @@ process_xcoff_symbol (struct coff_symbol *cs, struct objfile *objfile)
|
|||
sym->set_linkage_name (SYMNAME_ALLOC (name, symname_alloced));
|
||||
SYMBOL_TYPE (sym) = objfile_type (objfile)->nodebug_text_symbol;
|
||||
|
||||
SYMBOL_ACLASS_INDEX (sym) = LOC_BLOCK;
|
||||
sym->set_aclass_index (LOC_BLOCK);
|
||||
sym2 = new (&objfile->objfile_obstack) symbol (*sym);
|
||||
|
||||
if (cs->c_sclass == C_EXT || C_WEAKEXT)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue