the "ambiguous linespec" series
[deliverable/binutils-gdb.git] / gdb / mi / mi-main.c
index 5270fe49ef478f79fc66b2dc03b75bc78f452085..eefe9ecb667911dbb5da8071fd87f36283f8c3f7 100644 (file)
@@ -53,6 +53,7 @@
 #include "splay-tree.h"
 #include "tracepoint.h"
 #include "ada-lang.h"
+#include "linespec.h"
 
 #include <ctype.h>
 #include <sys/time.h>
@@ -2437,7 +2438,7 @@ mi_cmd_trace_find (char *command, char **argv, int argc)
       if (argc != 2)
        error (_("Line is required"));
 
-      sals = decode_line_spec (argv[1], 1);
+      sals = decode_line_spec (argv[1], DECODE_LINE_FUNFIRSTLINE);
       back_to = make_cleanup (xfree, sals.sals);
 
       sal = sals.sals[0];
This page took 0.028178 seconds and 4 git commands to generate.