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:
parent
7b3ecc7555
commit
d9743061f9
19 changed files with 49 additions and 40 deletions
|
@ -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
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue