From 6de37a3aae4e37be2ea2ba8f9141ba63937f2c48 Mon Sep 17 00:00:00 2001 From: Tom Tromey Date: Tue, 17 Dec 2013 21:37:44 -0700 Subject: Add target_ops argument to to_supports_string_tracing 2014-02-19 Tom Tromey * target.h (struct target_ops) : Add argument. (target_supports_string_tracing): Add argument. * target.c (update_current_target): Update. * remote.c (remote_supports_string_tracing): 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 c25235b..9ad6d4d 100644 --- a/gdb/target.h +++ b/gdb/target.h @@ -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) (¤t_target) #define target_supports_string_tracing() \ - (*current_target.to_supports_string_tracing) () + (*current_target.to_supports_string_tracing) (¤t_target) /* Returns true if this target can handle breakpoint conditions on its end. */ -- cgit v1.1