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

@@ -2008,7 +2008,7 @@ ada_value_assign (struct value *toval, struct value *fromval)
struct type *type = value_type (toval);
int bits = value_bitsize (toval);
if (!toval->modifiable)
if (!deprecated_value_modifiable (toval))
error (_("Left operand of assignment is not a modifiable lvalue."));
toval = coerce_ref (toval);