mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-06-18 16:53:50 +08: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:
@ -1001,7 +1001,7 @@ language_arch_info::type_and_symbol::alloc_type_symbol
|
||||
SYMBOL_OBJFILE_OWNED (symbol) = 0;
|
||||
symbol->set_section_index (0);
|
||||
SYMBOL_TYPE (symbol) = type;
|
||||
SYMBOL_DOMAIN (symbol) = VAR_DOMAIN;
|
||||
symbol->set_domain (VAR_DOMAIN);
|
||||
symbol->set_aclass_index (LOC_TYPEDEF);
|
||||
return symbol;
|
||||
}
|
||||
|
Reference in New Issue
Block a user