gdb/gdbserver:
[deliverable/binutils-gdb.git] / gdb / gdbserver / ax.h
index f87123b6e98e21c016d862f1b58d3de256496a56..b2b4e3a797ec6c2f384fb11127406cac19cc215a 100644 (file)
@@ -67,8 +67,20 @@ void emit_epilogue (void);
 enum eval_result_type compile_bytecodes (struct agent_expr *aexpr);
 #endif
 
-enum eval_result_type gdb_eval_agent_expr (struct regcache *regcache,
-                                          struct traceframe *tframe,
-                                          struct agent_expr *aexpr,
-                                          ULONGEST *rslt);
+/* The context when evaluating agent expression.  */
+
+struct eval_agent_expr_context
+{
+  /* The registers when evaluating agent expression.  */
+  struct regcache *regcache;
+  /* The traceframe, if any, when evaluating agent expression.  */
+  struct traceframe *tframe;
+  /* The tracepoint, if any, when evaluating agent expression.  */
+  struct tracepoint *tpoint;
+};
+
+enum eval_result_type
+  gdb_eval_agent_expr (struct eval_agent_expr_context *ctx,
+                      struct agent_expr *aexpr,
+                      ULONGEST *rslt);
 #endif /* AX_H */
This page took 0.022974 seconds and 4 git commands to generate.