projects
/
deliverable
/
binutils-gdb.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
the "ambiguous linespec" series
[deliverable/binutils-gdb.git]
/
gdb
/
mi
/
mi-main.c
diff --git
a/gdb/mi/mi-main.c
b/gdb/mi/mi-main.c
index 5270fe49ef478f79fc66b2dc03b75bc78f452085..eefe9ecb667911dbb5da8071fd87f36283f8c3f7 100644
(file)
--- a/
gdb/mi/mi-main.c
+++ b/
gdb/mi/mi-main.c
@@
-53,6
+53,7
@@
#include "splay-tree.h"
#include "tracepoint.h"
#include "ada-lang.h"
#include "splay-tree.h"
#include "tracepoint.h"
#include "ada-lang.h"
+#include "linespec.h"
#include <ctype.h>
#include <sys/time.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"));
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];
back_to = make_cleanup (xfree, sals.sals);
sal = sals.sals[0];
This page took
0.025612 seconds
and
4
git commands to generate.