* tracepoint.c (tvariables_info_1): Actually compute

the number of rows in the result.
This commit is contained in:
Vladimir Prus
2010-03-24 19:37:06 +00:00
parent 4ebf39dbf4
commit 4baf5cf487
2 changed files with 6 additions and 1 deletions

View File

@@ -422,7 +422,7 @@ tvariables_info_1 (void)
}
/* Try to acquire values from the target. */
for (ix = 0; VEC_iterate (tsv_s, tvariables, ix, tsv); ++ix)
for (ix = 0; VEC_iterate (tsv_s, tvariables, ix, tsv); ++ix, ++count)
tsv->value_known = target_get_trace_state_variable_value (tsv->number,
&(tsv->value));