forked from Imagelibrary/binutils-gdb
* tracepoint.c (tvariables_info_1): Actually compute
the number of rows in the result.
This commit is contained in:
@@ -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));
|
||||
|
||||
|
||||
Reference in New Issue
Block a user