gdb/mi: make current_token a field of mi_interp
[binutils-gdb.git] / gdb / ax-gdb.h
index 0d791e981270066b70ecec7644e8fa3f3b4ef383..46584286c1fa32c64a4d87bac5ac3e663301ab13 100644 (file)
@@ -1,5 +1,5 @@
 /* GDB-specific functions for operating on agent expressions
-   Copyright (C) 1998-2016 Free Software Foundation, Inc.
+   Copyright (C) 1998-2023 Free Software Foundation, Inc.
 
    This file is part of GDB.
 
@@ -19,8 +19,9 @@
 #ifndef AX_GDB_H
 #define AX_GDB_H
 
+#include "ax.h"  /* For agent_expr_up.  */
+
 struct expression;
-union exp_element;
 
 /* Types and enums */
 
@@ -118,10 +119,8 @@ extern void gen_expr (struct expression *exp, union exp_element **pc,
 
 extern void require_rvalue (struct agent_expr *ax, struct axs_value *value);
 
-struct format_piece;
 extern agent_expr_up gen_printf (CORE_ADDR, struct gdbarch *,
                                 CORE_ADDR, LONGEST, const char *, int,
-                                struct format_piece *,
                                 int, struct expression **);
 
 #endif /* AX_GDB_H */