gdb: remove SYMBOL_CLASS macro, add getter
Change-Id: I83211d5a47efc0564386e5b5ea4a29c00b1fd46a
This commit is contained in:
parent
d1eebf9a6f
commit
66d7f48f80
42 changed files with 147 additions and 144 deletions
|
@ -2588,7 +2588,7 @@ var_value_operation::evaluate_for_address (struct expression *exp,
|
|||
if (noside == EVAL_AVOID_SIDE_EFFECTS)
|
||||
{
|
||||
struct type *type = lookup_pointer_type (SYMBOL_TYPE (var));
|
||||
enum address_class sym_class = SYMBOL_CLASS (var);
|
||||
enum address_class sym_class = var->aclass ();
|
||||
|
||||
if (sym_class == LOC_CONST
|
||||
|| sym_class == LOC_CONST_BYTES
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue