Add target_ops argument to to_download_trace_state_variable

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

	* target.h (struct target_ops) <to_download_trace_state_variable>:
	Add argument.
	(target_download_trace_state_variable): Add argument.
	* target.c (update_current_target): Update.
	* remote.c (remote_download_trace_state_variable): Add 'self'
	argument.
This commit is contained in:
Tom Tromey 2013-12-17 21:40:13 -07:00
parent a52a8357cf
commit 559d2b81f0
4 changed files with 15 additions and 4 deletions

View file

@ -858,7 +858,7 @@ update_current_target (void)
(int (*) (struct target_ops *))
return_zero);
de_fault (to_download_trace_state_variable,
(void (*) (struct trace_state_variable *))
(void (*) (struct target_ops *, struct trace_state_variable *))
tcomplain);
de_fault (to_enable_tracepoint,
(void (*) (struct bp_location *))