aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gdb/ChangeLog6
-rw-r--r--gdb/tracepoint.c2
2 files changed, 7 insertions, 1 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index 630aca3..18a2451 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -1,5 +1,11 @@
2005-07-31 Daniel Jacobowitz <dan@codesourcery.com>
+ From Josef Ezra <jezra@emc.com>:
+ * tracepoint.c (stringify_collection_list): Correct pointer
+ arithmetic.
+
+2005-07-31 Daniel Jacobowitz <dan@codesourcery.com>
+
Suggested by Vladimir Prus <ghost@cs.msu.su>:
* infrun.c (handle_inferior_event): Check for line information in
undebuggable functions.
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++)