mirror of
https://sourceware.org/git/binutils-gdb.git
synced 2024-11-25 02:53:48 +08:00
From Josef Ezra <jezra@emc.com>:
* tracepoint.c (stringify_collection_list): Correct pointer arithmetic.
This commit is contained in:
parent
7ed0fe6656
commit
3ffbc0a500
@ -1,3 +1,9 @@
|
|||||||
|
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>
|
2005-07-31 Daniel Jacobowitz <dan@codesourcery.com>
|
||||||
|
|
||||||
Suggested by Vladimir Prus <ghost@cs.msu.su>:
|
Suggested by Vladimir Prus <ghost@cs.msu.su>:
|
||||||
|
@ -1443,7 +1443,7 @@ stringify_collection_list (struct collection_list *list, char *string)
|
|||||||
(long) (list->list[i].end - list->list[i].start));
|
(long) (list->list[i].end - list->list[i].start));
|
||||||
|
|
||||||
count += strlen (end);
|
count += strlen (end);
|
||||||
end += count;
|
end = temp_buf + count;
|
||||||
}
|
}
|
||||||
|
|
||||||
for (i = 0; i < list->next_aexpr_elt; i++)
|
for (i = 0; i < list->next_aexpr_elt; i++)
|
||||||
|
Loading…
Reference in New Issue
Block a user