mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-06-29 08:24:05 +08:00
gdb: remove SYMBOL_CLASS macro, add getter
Change-Id: I83211d5a47efc0564386e5b5ea4a29c00b1fd46a
This commit is contained in:
@ -520,7 +520,7 @@ gen_var_ref (struct agent_expr *ax, struct axs_value *value, struct symbol *var)
|
||||
}
|
||||
|
||||
/* I'm imitating the code in read_var_value. */
|
||||
switch (SYMBOL_CLASS (var))
|
||||
switch (var->aclass ())
|
||||
{
|
||||
case LOC_CONST: /* A constant, like an enum value. */
|
||||
ax_const_l (ax, (LONGEST) SYMBOL_VALUE (var));
|
||||
|
Reference in New Issue
Block a user