Add target_ops argument to to_supports_evaluation_of_breakpoint_conditions
[binutils-gdb.git] / gdb / target.h
index 9ad6d4dd63e1f4b22e91574bb8a8704f3ebd262c..ce73863e274144ed180f2a8f9b0a82aa3777eccf 100644 (file)
@@ -686,7 +686,7 @@ struct target_ops
 
     /* Does this target support evaluation of breakpoint conditions on its
        end?  */
-    int (*to_supports_evaluation_of_breakpoint_conditions) (void);
+    int (*to_supports_evaluation_of_breakpoint_conditions) (struct target_ops *);
 
     /* Does this target support evaluation of breakpoint commands on its
        end?  */
@@ -1123,7 +1123,7 @@ int target_supports_disable_randomization (void);
    on its end.  */
 
 #define target_supports_evaluation_of_breakpoint_conditions() \
-  (*current_target.to_supports_evaluation_of_breakpoint_conditions) ()
+  (*current_target.to_supports_evaluation_of_breakpoint_conditions) (&current_target)
 
 /* Returns true if this target can handle breakpoint commands
    on its end.  */