Fix probe-related internal error on AIX
[deliverable/binutils-gdb.git] / gdb / probe.c
index 623f65cb05176d129a09c7b3156c206019ce9193..838d9f98195f68f0e5601c6b25e79220a56030d9 100644 (file)
@@ -59,7 +59,8 @@ parse_probes (char **argptr, struct linespec_result *canonical)
 
   cs = *argptr;
   probe_ops = probe_linespec_to_ops (&cs);
-  gdb_assert (probe_ops != NULL);
+  if (probe_ops == NULL)
+    error (_("'%s' is not a probe linespec"), arg_start);
 
   arg = (char *) cs;
   arg = skip_spaces (arg);
This page took 0.024871 seconds and 4 git commands to generate.