aboutsummaryrefslogtreecommitdiff
path: root/gdb
diff options
context:
space:
mode:
authorHui Zhu <teawater@gmail.com>2010-10-28 03:38:36 +0000
committerHui Zhu <teawater@gmail.com>2010-10-28 03:38:36 +0000
commit0a2a54b8b06bfacaab862b804ef33bf45d2a7714 (patch)
tree4e218c9e35c570dbb4f6036175ce96b93c36dc28 /gdb
parent9842990da6bc9277467f1daaca67d456dac1a07c (diff)
downloadgdb-0a2a54b8b06bfacaab862b804ef33bf45d2a7714.zip
gdb-0a2a54b8b06bfacaab862b804ef33bf45d2a7714.tar.gz
gdb-0a2a54b8b06bfacaab862b804ef33bf45d2a7714.tar.bz2
2010-10-28 Hui Zhu <teawater@gmail.com>
* tracepoint.c (trace_save): Change utp->actions to utp->step_actions.
Diffstat (limited to 'gdb')
-rw-r--r--gdb/ChangeLog5
-rw-r--r--gdb/tracepoint.c2
2 files changed, 6 insertions, 1 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index 8dcbd1a..f8001b6 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -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.
diff --git a/gdb/tracepoint.c b/gdb/tracepoint.c
index 93fb5db..58fc8d4 100644
--- a/gdb/tracepoint.c
+++ b/gdb/tracepoint.c
@@ -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)