]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blobdiff - gdb/target.h
Add target_ops argument to to_get_tracepoint_status
[thirdparty/binutils-gdb.git] / gdb / target.h
index e53977814788b5dfe8394d90f9397e4261db66c4..39591a52345878816137a1463bbca3423c71e054 100644 (file)
@@ -789,7 +789,8 @@ struct target_ops
     /* Get the current status of a tracing run.  */
     int (*to_get_trace_status) (struct target_ops *, struct trace_status *ts);
 
-    void (*to_get_tracepoint_status) (struct breakpoint *tp,
+    void (*to_get_tracepoint_status) (struct target_ops *,
+                                     struct breakpoint *tp,
                                      struct uploaded_tp *utp);
 
     /* Stop a trace run.  */
@@ -1812,7 +1813,7 @@ extern char *target_fileio_read_stralloc (const char *filename);
   (*current_target.to_get_trace_status) (&current_target, ts)
 
 #define target_get_tracepoint_status(tp,utp)           \
-  (*current_target.to_get_tracepoint_status) (tp, utp)
+  (*current_target.to_get_tracepoint_status) (&current_target, tp, utp)
 
 #define target_trace_stop() \
   (*current_target.to_trace_stop) ()