Update gdb.base/default.exp for GDB 10
[deliverable/binutils-gdb.git] / gdb / stap-probe.h
index 2a3a6d4cc22b7d80f1833db84834366864fc7d0e..d5199d9a24553067a5beec22a0d34ff5faf9cc6a 100644 (file)
@@ -20,7 +20,6 @@
 #if !defined (STAP_PROBE_H)
 #define STAP_PROBE_H 1
 
-/* For `struct parser_state'.  */
 #include "parser-defs.h"
 
 /* Structure which holds information about the parsing process of one probe's
 struct stap_parse_info
 {
   stap_parse_info (const char *arg_, struct type *arg_type_,
-                  size_t initial_size, const struct language_defn *lang,
+                  const struct language_defn *lang,
                   struct gdbarch *gdbarch)
     : arg (arg_),
-      pstate (initial_size, lang, gdbarch),
+      pstate (lang, gdbarch),
       saved_arg (arg_),
       arg_type (arg_type_),
       gdbarch (gdbarch),
@@ -46,7 +45,7 @@ struct stap_parse_info
   const char *arg;
 
   /* The parser state to be used when generating the expression.  */
-  struct parser_state pstate;
+  struct expr_builder pstate;
 
   /* A pointer to the full chain of arguments.  This is useful for printing
      error messages.  The parser functions should not modify this argument
This page took 0.026025 seconds and 4 git commands to generate.