mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-08-05 21:50:21 +08:00
2006-11-30 Jim Blandy <jimb@codesourcery.com>
* ada-lang.c (value_subscript_packed): Don't bother to set the lvalue type of the returned value here; ada_value_primitive_packed_val takes care of that.
This commit is contained in:
@ -1887,10 +1887,6 @@ value_subscript_packed (struct value *arr, int arity, struct value **ind)
|
||||
|
||||
v = ada_value_primitive_packed_val (arr, NULL, elt_off, bit_off,
|
||||
bits, elt_type);
|
||||
if (VALUE_LVAL (arr) == lval_internalvar)
|
||||
VALUE_LVAL (v) = lval_internalvar_component;
|
||||
else
|
||||
VALUE_LVAL (v) = VALUE_LVAL (arr);
|
||||
return v;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user