X-Git-Url: http://drtracing.org/?a=blobdiff_plain;f=gdb%2Fstap-probe.h;h=26371a96b9ab01c2b85daa6e247397874a6b9576;hb=d7cd93a718c0ddd67e027e42db819d6f152c3500;hp=5b16201d5409d3d84ad4402575c61ab4d5cc0eab;hpb=ecd75fc8eed3bde86036141228074a20e55dcfc9;p=deliverable%2Fbinutils-gdb.git diff --git a/gdb/stap-probe.h b/gdb/stap-probe.h index 5b16201d54..26371a96b9 100644 --- a/gdb/stap-probe.h +++ b/gdb/stap-probe.h @@ -1,6 +1,6 @@ /* SystemTap probe support for GDB. - Copyright (C) 2012-2014 Free Software Foundation, Inc. + Copyright (C) 2012-2016 Free Software Foundation, Inc. This file is part of GDB. @@ -20,6 +20,9 @@ #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 argument. */ @@ -28,6 +31,9 @@ struct stap_parse_info /* The probe's argument in a string format. */ const char *arg; + /* The parser state to be used when generating the expression. */ + struct parser_state pstate; + /* A pointer to the full chain of arguments. This is useful for printing error messages. The parser functions should not modify this argument directly; instead, they should use the ARG pointer above. */