aboutsummaryrefslogtreecommitdiff
path: root/gdb/tracepoint.c
diff options
context:
space:
mode:
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++)