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
|
@ -560,7 +560,7 @@ finalize_symtab (struct gdb_symtab *stab, struct objfile *objfile)
|
|||
|
||||
/* The name. */
|
||||
SYMBOL_DOMAIN (block_name) = VAR_DOMAIN;
|
||||
SYMBOL_ACLASS_INDEX (block_name) = LOC_BLOCK;
|
||||
block_name->set_aclass_index (LOC_BLOCK);
|
||||
symbol_set_symtab (block_name, filetab);
|
||||
SYMBOL_TYPE (block_name) = lookup_function_type (block_type);
|
||||
SYMBOL_BLOCK_VALUE (block_name) = new_block;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue