aboutsummaryrefslogtreecommitdiff
path: root/gdb/jv-valprint.c
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/jv-valprint.c')
-rw-r--r--gdb/jv-valprint.c4
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)