Add target_ops argument to to_supports_string_tracing
[deliverable/binutils-gdb.git] / gdb / target.h
index c25235badfa5a1b707f6bfb753954b5cb19360ce..9ad6d4dd63e1f4b22e91574bb8a8704f3ebd262c 100644 (file)
@@ -682,7 +682,7 @@ struct target_ops
     int (*to_supports_disable_randomization) (struct target_ops *);
 
     /* Does this target support the tracenz bytecode for string collection?  */
-    int (*to_supports_string_tracing) (void);
+    int (*to_supports_string_tracing) (struct target_ops *);
 
     /* Does this target support evaluation of breakpoint conditions on its
        end?  */
@@ -1117,7 +1117,7 @@ int target_supports_disable_randomization (void);
   (*current_target.to_supports_enable_disable_tracepoint) (&current_target)
 
 #define target_supports_string_tracing() \
-  (*current_target.to_supports_string_tracing) ()
+  (*current_target.to_supports_string_tracing) (&current_target)
 
 /* Returns true if this target can handle breakpoint conditions
    on its end.  */
This page took 0.0233100000000001 seconds and 4 git commands to generate.