diff options
author | Andrew Cagney <cagney@redhat.com> | 2005-02-07 15:04:43 +0000 |
---|---|---|
committer | Andrew Cagney <cagney@redhat.com> | 2005-02-07 15:04:43 +0000 |
commit | dfa52d88e70f7149def79ecf95faea9f87477df4 (patch) | |
tree | bfed4ca0cf97d3b1c3b1cae9aa795e0d76f663e8 /gdb/jv-valprint.c | |
parent | 303e4c21e7c9ddd98c577051f5c477f11a5c06ec (diff) | |
download | gdb-dfa52d88e70f7149def79ecf95faea9f87477df4.zip gdb-dfa52d88e70f7149def79ecf95faea9f87477df4.tar.gz gdb-dfa52d88e70f7149def79ecf95faea9f87477df4.tar.bz2 |
2005-02-07 Andrew Cagney <cagney@gnu.org>
* value.h (VALUE_LAZY): Delete
(set_value_lazy): Declare.
* value.c (set_value_lazy): Define.
* valops.c, valarith.c, jv-valprint.c, jv-lang.c: Update.
* gnu-v2-abi.c, findvar.c, dwarf2loc.c, ada-lang.c: Update.
Diffstat (limited to 'gdb/jv-valprint.c')
-rw-r--r-- | gdb/jv-valprint.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gdb/jv-valprint.c b/gdb/jv-valprint.c index 040b303..2d20805 100644 --- a/gdb/jv-valprint.c +++ b/gdb/jv-valprint.c @@ -162,7 +162,7 @@ java_value_print (struct value *val, struct ui_file *stream, int format, } else { - VALUE_LAZY (v) = 1; + set_value_lazy (v, 1); v->offset = 0; } @@ -170,7 +170,7 @@ java_value_print (struct value *val, struct ui_file *stream, int format, for (reps = 1; i + reps < length; reps++) { - VALUE_LAZY (next_v) = 1; + set_value_lazy (next_v, 1); next_v->offset += TYPE_LENGTH (el_type); if (memcmp (value_contents (v), value_contents (next_v), TYPE_LENGTH (el_type)) != 0) |