aboutsummaryrefslogtreecommitdiff
path: root/gdb/probe.h
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/probe.h')
-rw-r--r--gdb/probe.h14
1 files changed, 8 insertions, 6 deletions
diff --git a/gdb/probe.h b/gdb/probe.h
index a6c10e2..db7f1d1 100644
--- a/gdb/probe.h
+++ b/gdb/probe.h
@@ -224,12 +224,14 @@ struct bound_probe
struct objfile *objfile;
};
-/* A helper for linespec that decodes a probe specification. It returns a
- symtabs_and_lines object and updates LOC or throws an error. */
-
-extern struct symtabs_and_lines parse_probes (const struct event_location *loc,
- struct program_space *pspace,
- struct linespec_result *canon);
+/* A helper for linespec that decodes a probe specification. It
+ returns a std::vector<symtab_and_line> object and updates LOC or
+ throws an error. */
+
+extern std::vector<symtab_and_line> parse_probes
+ (const struct event_location *loc,
+ struct program_space *pspace,
+ struct linespec_result *canon);
/* Helper function to register the proper probe_ops to a newly created probe.
This function is mainly called from `sym_get_probes'. */