Add target_ops argument to to_supports_enable_disable_tracepoint
[deliverable/binutils-gdb.git] / gdb / target.h
index cb58f4cb30c5aaca3f510f921e6724e527a06cde..a196fe4cd2c6a76695f37e99f59708277f06cfee 100644 (file)
@@ -676,7 +676,7 @@ struct target_ops
 
     /* Does this target support enabling and disabling tracepoints while a trace
        experiment is running?  */
-    int (*to_supports_enable_disable_tracepoint) (void);
+    int (*to_supports_enable_disable_tracepoint) (struct target_ops *);
 
     /* Does this target support disabling address space randomization?  */
     int (*to_supports_disable_randomization) (void);
@@ -1114,7 +1114,7 @@ int target_supports_disable_randomization (void);
    while a trace experiment is running.  */
 
 #define target_supports_enable_disable_tracepoint() \
-  (*current_target.to_supports_enable_disable_tracepoint) ()
+  (*current_target.to_supports_enable_disable_tracepoint) (&current_target)
 
 #define target_supports_string_tracing() \
   (*current_target.to_supports_string_tracing) ()
This page took 0.02402 seconds and 4 git commands to generate.