Add missing client_state struct references to win target.
[deliverable/binutils-gdb.git] / gdb / gdbserver / ax.h
index ce4ff4fe8b908e014729e3ed78f23d3b0aa41dd6..4823914d2f82ba3fb04dbef64d7a78abc4a8bb4f 100644 (file)
@@ -1,5 +1,5 @@
 /* Data structures and functions associated with agent expressions in GDB.
-   Copyright (C) 2009-2014 Free Software Foundation, Inc.
+   Copyright (C) 2009-2018 Free Software Foundation, Inc.
 
    This file is part of GDB.
 
@@ -19,7 +19,6 @@
 #if !defined (AX_H)
 #define AX_H 1
 
-#include "server.h"
 #include "regcache.h"
 
 #ifdef IN_PROCESS_AGENT
@@ -56,7 +55,10 @@ struct agent_expr
 
 /* The packet form of an agent expression consists of an 'X', number
    of bytes in expression, a comma, and then the bytes.  */
-struct agent_expr *gdb_parse_agent_expr (char **actparm);
+struct agent_expr *gdb_parse_agent_expr (const char **actparm);
+
+/* Release an agent expression.  */
+void gdb_free_agent_expr (struct agent_expr *aexpr);
 
 /* Convert the bytes of an agent expression back into hex digits, so
    they can be printed or uploaded.  This allocates the buffer,
This page took 0.045769 seconds and 4 git commands to generate.