diff options
Diffstat (limited to 'gdb/value.c')
-rw-r--r-- | gdb/value.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/gdb/value.c b/gdb/value.c index 9cc5e44..d125a09 100644 --- a/gdb/value.c +++ b/gdb/value.c @@ -3505,6 +3505,7 @@ coerce_ref (struct value *arg) retval = value_at_lazy (enc_type, unpack_pointer (value_type (arg), value_contents (arg))); + enc_type = value_type (retval); return readjust_indirect_value_type (retval, enc_type, value_type_arg_tmp, arg); } |