diff options
Diffstat (limited to 'gdb/ax-gdb.c')
-rw-r--r-- | gdb/ax-gdb.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/gdb/ax-gdb.c b/gdb/ax-gdb.c index 33fc538..009c128 100644 --- a/gdb/ax-gdb.c +++ b/gdb/ax-gdb.c @@ -1980,16 +1980,16 @@ var_value_operation::do_generate_ax (struct expression *exp, struct axs_value *value, struct type *cast_type) { - gen_var_ref (ax, value, std::get<0> (m_storage)); + gen_var_ref (ax, value, std::get<0> (m_storage).symbol); if (value->optimized_out) error (_("`%s' has been optimized out, cannot use"), - std::get<0> (m_storage)->print_name ()); + std::get<0> (m_storage).symbol->print_name ()); if (value->type->code () == TYPE_CODE_ERROR) { if (cast_type == nullptr) - error_unknown_type (std::get<0> (m_storage)->print_name ()); + error_unknown_type (std::get<0> (m_storage).symbol->print_name ()); value->type = cast_type; } } |