Make probe_ops::get_probes fill an std::vector
[deliverable/binutils-gdb.git] / gdb / symfile.h
index bb47fdf7cf848f0c3e9283715f7fab87b9183931..1f4460c96f4a3eae04d107f3810fc6f2d3354705 100644 (file)
@@ -314,11 +314,8 @@ struct quick_symbol_functions
 
 struct sym_probe_fns
 {
-  /* If non-NULL, return an array of probe objects.
-
-     The returned value does not have to be freed and it has lifetime of the
-     OBJFILE.  */
-  VEC (probe_p) *(*sym_get_probes) (struct objfile *);
+  /* If non-NULL, return a reference to vector of probe objects.  */
+  const std::vector<probe *> &(*sym_get_probes) (struct objfile *);
 };
 
 /* Structure to keep track of symbol reading functions for various
This page took 0.028436 seconds and 4 git commands to generate.