aboutsummaryrefslogtreecommitdiff
path: root/gdb/tracepoint.c
diff options
context:
space:
mode:
authorDaniel Jacobowitz <drow@false.org>2005-08-01 03:41:34 +0000
committerDaniel Jacobowitz <drow@false.org>2005-08-01 03:41:34 +0000
commit3ffbc0a50081df3ef17811030bad04db8c9bac98 (patch)
tree4239088f85512a6d1e2317352b560e716f5dbd8d /gdb/tracepoint.c
parent7ed0fe6656c577b8725f4c8f39b0820ca4346370 (diff)
downloadgdb-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.c2
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++)