2010-10-28 Hui Zhu <teawater@gmail.com>

* tracepoint.c (trace_save): Change utp->actions to
	utp->step_actions.
This commit is contained in:
Hui Zhu 2010-10-28 03:38:36 +00:00
parent 9842990da6
commit 0a2a54b8b0
2 changed files with 6 additions and 1 deletions

View File

@ -1,3 +1,8 @@
2010-10-28 Hui Zhu <teawater@gmail.com>
* tracepoint.c (trace_save): Change utp->actions to
utp->step_actions.
2010-10-26 Joel Brobecker <brobecker@adacore.com>
* (_FILE_OFFSET_BITS): Fix typo in comment.

View File

@ -2734,7 +2734,7 @@ trace_save (const char *filename, int target_does_save)
for (a = 0; VEC_iterate (char_ptr, utp->actions, a, act); ++a)
fprintf (fp, "tp A%x:%s:%s\n",
utp->number, phex_nz (utp->addr, sizeof (utp->addr)), act);
for (a = 0; VEC_iterate (char_ptr, utp->actions, a, act); ++a)
for (a = 0; VEC_iterate (char_ptr, utp->step_actions, a, act); ++a)
fprintf (fp, "tp S%x:%s:%s\n",
utp->number, phex_nz (utp->addr, sizeof (utp->addr)), act);
if (utp->at_string)