Unify actions and commands
[deliverable/binutils-gdb.git] / gdb / remote.c
index 024b6296dcc4ef49d3387ab04135f73864decb08..d26f9a5b8bb68910ff7bacf2a579cd37313b279e 100644 (file)
@@ -9337,14 +9337,14 @@ remote_download_tracepoint (struct breakpoint *t)
            warning (_("Target does not support conditional tracepoints, ignoring tp %d cond"), t->number);
        }
 
-      if (t->actions || *default_collect)
+  if (t->commands || *default_collect)
        strcat (buf, "-");
       putpkt (buf);
       remote_get_noisy_reply (&target_buf, &target_buf_size);
       if (strcmp (target_buf, "OK"))
        error (_("Target does not support tracepoints."));
 
-      if (!t->actions && !*default_collect)
+  if (!t->commands && !*default_collect)
        continue;
 
       /* do_single_steps (t); */
This page took 0.040879 seconds and 4 git commands to generate.