diff options
Diffstat (limited to 'gdb/tracepoint.c')
-rw-r--r-- | gdb/tracepoint.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/gdb/tracepoint.c b/gdb/tracepoint.c index d11f086..d3cccff 100644 --- a/gdb/tracepoint.c +++ b/gdb/tracepoint.c @@ -1385,7 +1385,7 @@ encode_actions (struct breakpoint *t, struct bp_location *tloc, gdbarch_virtual_frame_pointer (t->gdbarch, t->loc->address, &frame_reg, &frame_offset); - actions = t->commands; + actions = t->commands->commands; /* If there are default expressions to collect, make up a collect action and prepend to the action list to encode. Note that since @@ -1406,7 +1406,7 @@ encode_actions (struct breakpoint *t, struct bp_location *tloc, { default_collect_action = xmalloc (sizeof (struct command_line)); make_cleanup (xfree, default_collect_action); - default_collect_action->next = t->commands; + default_collect_action->next = t->commands->commands; default_collect_action->line = line; actions = default_collect_action; } @@ -2332,7 +2332,7 @@ trace_dump_command (char *args, int from_tty) if (loc->address == regcache_read_pc (regcache)) stepping_frame = 0; - for (action = t->commands; action; action = action->next) + for (action = t->commands->commands; action; action = action->next) { struct cmd_list_element *cmd; |