projects
/
deliverable
/
binutils-gdb.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
2005-02-07 Andrew Cagney <cagney@gnu.org>
[deliverable/binutils-gdb.git]
/
gdb
/
jv-valprint.c
diff --git
a/gdb/jv-valprint.c
b/gdb/jv-valprint.c
index 2d20805e0e11392ac60898d80e1fd9a0b589f9b5..51ba6fb52e52c048ad3fe092ee064fa594b63367 100644
(file)
--- a/
gdb/jv-valprint.c
+++ b/
gdb/jv-valprint.c
@@
-163,15
+163,15
@@
java_value_print (struct value *val, struct ui_file *stream, int format,
else
{
set_value_lazy (v, 1);
else
{
set_value_lazy (v, 1);
-
v->offset = 0
;
+
set_value_offset (v, 0)
;
}
}
-
next_v->offset = value_offset (v
);
+
set_value_offset (next_v, value_offset (v)
);
for (reps = 1; i + reps < length; reps++)
{
set_value_lazy (next_v, 1);
for (reps = 1; i + reps < length; reps++)
{
set_value_lazy (next_v, 1);
-
next_v->offset += TYPE_LENGTH (el_type
);
+
set_value_offset (next_v, value_offset (next_v) + TYPE_LENGTH (el_type)
);
if (memcmp (value_contents (v), value_contents (next_v),
TYPE_LENGTH (el_type)) != 0)
break;
if (memcmp (value_contents (v), value_contents (next_v),
TYPE_LENGTH (el_type)) != 0)
break;
This page took
0.023525 seconds
and
4
git commands to generate.