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
|
@ -191,9 +191,9 @@ mi_should_print (struct symbol *sym, enum mi_print_types type)
|
|||
case LOC_REGISTER: /* register */
|
||||
case LOC_COMPUTED: /* computed location */
|
||||
if (type == MI_PRINT_LOCALS)
|
||||
print_me = ! SYMBOL_IS_ARGUMENT (sym);
|
||||
print_me = ! sym->is_argument ();
|
||||
else
|
||||
print_me = SYMBOL_IS_ARGUMENT (sym);
|
||||
print_me = sym->is_argument ();
|
||||
}
|
||||
return print_me;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue