From efcc2da70ea8bdb9153f1e717e84c0b9d976b394 Mon Sep 17 00:00:00 2001 From: Tom Tromey Date: Tue, 17 Dec 2013 21:37:56 -0700 Subject: Add target_ops argument to to_supports_evaluation_of_breakpoint_conditions 2014-02-19 Tom Tromey * target.h (struct target_ops) : Add argument. (target_supports_evaluation_of_breakpoint_conditions): Add argument. * target.c (update_current_target): Update. * remote.c (remote_supports_cond_breakpoints): Add 'self' argument. (remote_insert_breakpoint): Add 'self' argument. (remote_insert_hw_breakpoint): Add 'self' argument. (remote_supports_cond_breakpoints): Add 'self' argument. --- gdb/target.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'gdb/target.h') diff --git a/gdb/target.h b/gdb/target.h index 9ad6d4d..ce73863 100644 --- a/gdb/target.h +++ b/gdb/target.h @@ -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) (¤t_target) /* Returns true if this target can handle breakpoint commands on its end. */ -- cgit v1.1