gdb: remove SYMBOL_IS_ARGUMENT macro

Add a getter and a setter for whether a symbol is an argument.  Remove
the corresponding macro and adjust all callers.

Change-Id: I71b4f0465f3dfd2ed8b9e140bd3f7d5eb8d9ee81
This commit is contained in:
Simon Marchi
2022-01-27 22:06:47 -05:00
parent 7b3ecc7555
commit d9743061f9
19 changed files with 49 additions and 40 deletions

View File

@@ -753,7 +753,7 @@ block_lookup_symbol (const struct block *block, const char *name,
sym->domain (), domain))
{
sym_found = sym;
if (!SYMBOL_IS_ARGUMENT (sym))
if (!sym->is_argument ())
{
break;
}