Remove cleanups from link_callbacks_einfo
[deliverable/binutils-gdb.git] / gdb / stap-probe.c
index a65fc7ec635890c192a19aadb41fbca97e308911..6fa0d202807b65a468dc564ddb80d64f55183689 100644 (file)
@@ -1708,7 +1708,7 @@ const struct probe_ops stap_probe_ops =
 /* Implementation of the `info probes stap' command.  */
 
 static void
-info_probes_stap_command (char *arg, int from_tty)
+info_probes_stap_command (const char *arg, int from_tty)
 {
   info_probes_for_ops (arg, from_tty, &stap_probe_ops);
 }
@@ -1716,7 +1716,7 @@ info_probes_stap_command (char *arg, int from_tty)
 void
 _initialize_stap_probe (void)
 {
-  VEC_safe_push (probe_ops_cp, all_probe_ops, &stap_probe_ops);
+  all_probe_ops.push_back (&stap_probe_ops);
 
   add_setshow_zuinteger_cmd ("stap-expression", class_maintenance,
                             &stap_expression_debug,
This page took 0.023911 seconds and 4 git commands to generate.