ODR warnings for "struct coff_symbol"
[binutils-gdb.git] / gdb / ax-gdb.c
index e2e311f9d74a0f277cc91752f831c5aee8fb7c1c..f8ea8adc6266bd2cc1d3992bc3817536941f2b68 100644 (file)
@@ -571,7 +571,7 @@ gen_var_ref (struct agent_expr *ax, struct axs_value *value, struct symbol *var)
       break;
 
     case LOC_BLOCK:
-      ax_const_l (ax, BLOCK_ENTRY_PC (var->value_block ()));
+      ax_const_l (ax, var->value_block ()->entry_pc ());
       value->kind = axs_rvalue;
       break;