diff options
author | Daniel Jacobowitz <drow@false.org> | 2005-08-01 03:41:34 +0000 |
---|---|---|
committer | Daniel Jacobowitz <drow@false.org> | 2005-08-01 03:41:34 +0000 |
commit | 3ffbc0a50081df3ef17811030bad04db8c9bac98 (patch) | |
tree | 4239088f85512a6d1e2317352b560e716f5dbd8d /gdb/tracepoint.c | |
parent | 7ed0fe6656c577b8725f4c8f39b0820ca4346370 (diff) | |
download | gdb-3ffbc0a50081df3ef17811030bad04db8c9bac98.zip gdb-3ffbc0a50081df3ef17811030bad04db8c9bac98.tar.gz gdb-3ffbc0a50081df3ef17811030bad04db8c9bac98.tar.bz2 |
From Josef Ezra <jezra@emc.com>:
* tracepoint.c (stringify_collection_list): Correct pointer
arithmetic.
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 bf4a2c5..e522352 100644 --- a/gdb/tracepoint.c +++ b/gdb/tracepoint.c @@ -1443,7 +1443,7 @@ stringify_collection_list (struct collection_list *list, char *string) (long) (list->list[i].end - list->list[i].start)); count += strlen (end); - end += count; + end = temp_buf + count; } for (i = 0; i < list->next_aexpr_elt; i++) |