Add target_ops argument to to_supports_string_tracing

2014-02-19  Tom Tromey  <tromey@redhat.com>

	* target.h (struct target_ops) <to_supports_string_tracing>: Add
	argument.
	(target_supports_string_tracing): Add argument.
	* target.c (update_current_target): Update.
	* remote.c (remote_supports_string_tracing): Add 'self' argument.
This commit is contained in:
Tom Tromey
2013-12-17 21:37:44 -07:00
parent 2bfc0540a2
commit 6de37a3aae
4 changed files with 12 additions and 4 deletions

View 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. */