forked from Imagelibrary/binutils-gdb
gdb: remove SYMBOL_TYPE macro
Add a getter and a setter for a symbol's type. Remove the corresponding macro and adjust all callers. Change-Id: Ie1a137744c5bfe1df4d4f9ae5541c5299577c8de
This commit is contained in:
@@ -510,7 +510,7 @@ static void
|
||||
gen_var_ref (struct agent_expr *ax, struct axs_value *value, struct symbol *var)
|
||||
{
|
||||
/* Dereference any typedefs. */
|
||||
value->type = check_typedef (SYMBOL_TYPE (var));
|
||||
value->type = check_typedef (var->type ());
|
||||
value->optimized_out = 0;
|
||||
|
||||
if (SYMBOL_COMPUTED_OPS (var) != NULL)
|
||||
|
||||
Reference in New Issue
Block a user