diff options
Diffstat (limited to 'gdb/valops.c')
-rw-r--r-- | gdb/valops.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/valops.c b/gdb/valops.c index 56e4645..de1b1a7 100644 --- a/gdb/valops.c +++ b/gdb/valops.c @@ -521,7 +521,7 @@ value_assign (struct value *toval, struct value *fromval) struct value *val; struct frame_id old_frame; - if (!toval->modifiable) + if (!deprecated_value_modifiable (toval)) error ("Left operand of assignment is not a modifiable lvalue."); toval = coerce_ref (toval); |