mirror of
https://github.com/bminor/binutils-gdb.git
synced 2025-12-26 09:08:59 +00:00
gdb: remove SYMBOL_DOMAIN macro
Add a getter and a setter for a symbol's domain. Remove the corresponding macro and adjust all callers. Change-Id: I54465b50ac89739c663859a726aef8cdc6e4b8f3
This commit is contained in:
@@ -559,7 +559,7 @@ finalize_symtab (struct gdb_symtab *stab, struct objfile *objfile)
|
||||
BLOCK_END (new_block) = (CORE_ADDR) gdb_block_iter.end;
|
||||
|
||||
/* The name. */
|
||||
SYMBOL_DOMAIN (block_name) = VAR_DOMAIN;
|
||||
block_name->set_domain (VAR_DOMAIN);
|
||||
block_name->set_aclass_index (LOC_BLOCK);
|
||||
symbol_set_symtab (block_name, filetab);
|
||||
SYMBOL_TYPE (block_name) = lookup_function_type (block_type);
|
||||
|
||||
Reference in New Issue
Block a user