daily update
[deliverable/binutils-gdb.git] / gdb / ax.h
index 05dc6a1a6f04ddd44bc62602b79ca9a1cc0b5e60..368f727c48e5371210cba1555b896c12813a92d9 100644 (file)
--- a/gdb/ax.h
+++ b/gdb/ax.h
@@ -1,6 +1,5 @@
 /* Definitions for expressions designed to be executed on the agent
-   Copyright (C) 1998, 1999, 2000, 2007, 2008, 2009, 2010, 2011
-   Free Software Foundation, Inc.
+   Copyright (C) 1998-2000, 2007-2012 Free Software Foundation, Inc.
 
    This file is part of GDB.
 
@@ -21,6 +20,7 @@
 #define AGENTEXPR_H
 
 #include "doublest.h"          /* For DOUBLEST.  */
+#include "vec.h"
 
 /* It's sometimes useful to be able to debug programs that you can't
    really stop for more than a fraction of a second.  To this end, the
@@ -145,6 +145,12 @@ struct agent_expr
     unsigned char *reg_mask;
   };
 
+/* Pointer to an agent_expr structure.  */
+typedef struct agent_expr *agent_expr_p;
+
+/* Vector of pointers to agent expressions.  */
+DEF_VEC_P (agent_expr_p);
+
 /* The actual values of the various bytecode operations.  */
 
 enum agent_op
@@ -214,7 +220,8 @@ extern void ax_reg_mask (struct agent_expr *ax, int reg);
 /* Assemble code to operate on a trace state variable.  */
 extern void ax_tsv (struct agent_expr *expr, enum agent_op op, int num);
 
-extern void ax_memcpy (struct agent_expr *x, const void *src, size_t n);
+/* Append a string to the bytecode stream.  */
+extern void ax_string (struct agent_expr *x, char *str, int slen);
 \f
 
 /* Functions for printing out expressions, and otherwise debugging
This page took 0.023344 seconds and 4 git commands to generate.