X-Git-Url: http://drtracing.org/?a=blobdiff_plain;ds=sidebyside;f=gdb%2Fstap-probe.h;h=e8f24564af9a37792e69c003362787a19fba2a27;hb=bd920864f3dc2cad376989a642ab774aef6b2fce;hp=5e88ff0d8afad8b6f1eb0feb7d70516017c294e8;hpb=e9d9f57e11db6427db347bc5b9b100071355e63f;p=deliverable%2Fbinutils-gdb.git diff --git a/gdb/stap-probe.h b/gdb/stap-probe.h index 5e88ff0d8a..e8f24564af 100644 --- a/gdb/stap-probe.h +++ b/gdb/stap-probe.h @@ -1,6 +1,6 @@ /* SystemTap probe support for GDB. - Copyright (C) 2012-2017 Free Software Foundation, Inc. + Copyright (C) 2012-2020 Free Software Foundation, Inc. This file is part of GDB. @@ -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 @@ -29,10 +28,10 @@ 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