mirror of
https://github.com/bminor/binutils-gdb.git
synced 2025-12-26 17:18:55 +00:00
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:
@@ -5053,7 +5053,7 @@ match_data::operator() (struct block_symbol *bsym)
|
||||
{
|
||||
if (sym->aclass () == LOC_UNRESOLVED)
|
||||
return true;
|
||||
else if (SYMBOL_IS_ARGUMENT (sym))
|
||||
else if (sym->is_argument ())
|
||||
arg_sym = sym;
|
||||
else
|
||||
{
|
||||
@@ -5744,7 +5744,7 @@ ada_add_block_symbols (std::vector<struct block_symbol> &result,
|
||||
{
|
||||
if (sym->aclass () != LOC_UNRESOLVED)
|
||||
{
|
||||
if (SYMBOL_IS_ARGUMENT (sym))
|
||||
if (sym->is_argument ())
|
||||
arg_sym = sym;
|
||||
else
|
||||
{
|
||||
@@ -5798,7 +5798,7 @@ ada_add_block_symbols (std::vector<struct block_symbol> &result,
|
||||
{
|
||||
if (sym->aclass () != LOC_UNRESOLVED)
|
||||
{
|
||||
if (SYMBOL_IS_ARGUMENT (sym))
|
||||
if (sym->is_argument ())
|
||||
arg_sym = sym;
|
||||
else
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user