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:
parent
66d7f48f80
commit
6c9c307c67
19 changed files with 107 additions and 99 deletions
|
@ -58,7 +58,7 @@ convert_one_symbol (compile_cplus_instance *instance,
|
|||
else
|
||||
sym_type = instance->convert_type (SYMBOL_TYPE (sym.symbol));
|
||||
|
||||
if (SYMBOL_DOMAIN (sym.symbol) == STRUCT_DOMAIN)
|
||||
if (sym.symbol->domain () == STRUCT_DOMAIN)
|
||||
{
|
||||
/* Nothing to do. */
|
||||
}
|
||||
|
@ -374,7 +374,7 @@ gcc_cplus_convert_symbol (void *datum,
|
|||
{
|
||||
found = true;
|
||||
convert_symbol_sym (instance, identifier, it,
|
||||
SYMBOL_DOMAIN (it.symbol));
|
||||
it.symbol->domain ());
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue