gdb/tui: fairer distribution of excess space during apply
[binutils-gdb.git] / gdb / ax-gdb.h
index 5c74a0e853fb07ce6147cf8210c6d9fdf5b055c8..03463f1d9c8aa02c4d8b4a5c72a8ef5bd24ba3f1 100644 (file)
@@ -1,5 +1,5 @@
 /* GDB-specific functions for operating on agent expressions
-   Copyright (C) 1998-2017 Free Software Foundation, Inc.
+   Copyright (C) 1998-2022 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 */