forked from Imagelibrary/binutils-gdb
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:
@@ -3995,7 +3995,7 @@ find_label_symbols_in_block (const struct block *block,
|
||||
ALL_BLOCK_SYMBOLS (block, iter, sym)
|
||||
{
|
||||
if (symbol_matches_domain (sym->language (),
|
||||
SYMBOL_DOMAIN (sym), LABEL_DOMAIN)
|
||||
sym->domain (), LABEL_DOMAIN)
|
||||
&& cmp (sym->search_name (), name, name_len) == 0)
|
||||
{
|
||||
result->push_back ({sym, block});
|
||||
|
||||
Reference in New Issue
Block a user