diff options
author | Andrew Cagney <cagney@redhat.com> | 2005-02-08 00:25:31 +0000 |
---|---|---|
committer | Andrew Cagney <cagney@redhat.com> | 2005-02-08 00:25:31 +0000 |
commit | 5bf30d9cab4a2dae1c72ab2b4e03b14e25907c42 (patch) | |
tree | 7c0961a2eb60961edac62b613100d457bba6e317 /gdb/valops.c | |
parent | 1e212638446850e6a7d8fd7af1175c18b4b009d5 (diff) | |
download | gdb-5bf30d9cab4a2dae1c72ab2b4e03b14e25907c42.tar.gz |
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.
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 56e464536e6..de1b1a7c774 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); |