diff options
author | Vladimir Prus <vladimir@codesourcery.com> | 2010-03-24 19:37:06 +0000 |
---|---|---|
committer | Vladimir Prus <vladimir@codesourcery.com> | 2010-03-24 19:37:06 +0000 |
commit | 4baf5cf4879e4953b19a581f6cafce66964cfc3e (patch) | |
tree | 0f35a200175584f63881945697af0f249c396987 /gdb/tracepoint.c | |
parent | 4ebf39dbf440f80e8d8b507d9ab2949d0209ae5a (diff) | |
download | gdb-4baf5cf4879e4953b19a581f6cafce66964cfc3e.zip gdb-4baf5cf4879e4953b19a581f6cafce66964cfc3e.tar.gz gdb-4baf5cf4879e4953b19a581f6cafce66964cfc3e.tar.bz2 |
* tracepoint.c (tvariables_info_1): Actually compute
the number of rows in the result.
Diffstat (limited to 'gdb/tracepoint.c')
-rw-r--r-- | gdb/tracepoint.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/tracepoint.c b/gdb/tracepoint.c index aab57d7..d11f086 100644 --- a/gdb/tracepoint.c +++ b/gdb/tracepoint.c @@ -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)); |