2005-02-07 Andrew Cagney <cagney@gnu.org>

* value.h (deprecated_set_value_modifiable)
	(deprecated_value_modifiable): Declare.
	* value.c (deprecated_set_value_modifiable): Define.
	(deprecated_value_modifiable): Define.
	* ada-lang.c, valops.c, breakpoint.c, tracepoint.c: Update.
This commit is contained in:
Andrew Cagney
2005-02-08 00:25:31 +00:00
parent 8082c5a8f1
commit 88e3b34b7c
7 changed files with 29 additions and 13 deletions

View File

@@ -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);