#if !defined (PROBE_H)
#define PROBE_H 1
+#include "symtab.h"
+
struct event_location;
struct linespec_result;
/* Return the number of arguments of the probe. This function can
throw an exception. */
- virtual unsigned get_argument_count (struct frame_info *frame) = 0;
+ virtual unsigned get_argument_count (struct gdbarch *gdbarch) = 0;
/* Return 1 if the probe interface can evaluate the arguments of
probe, zero otherwise. See the comments on
extern struct bound_probe find_probe_by_pc (CORE_ADDR pc);
/* Search OBJFILE for a probe with the given PROVIDER, NAME. Return a
- VEC of all probes that were found. If no matching probe is found,
+ vector of all probes that were found. If no matching probe is found,
return an empty vector. */
extern std::vector<probe *> find_probes_in_objfile (struct objfile *objfile,