Add target_ops argument to to_can_download_tracepoint

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

	* target.h (struct target_ops) <to_can_download_tracepoint>: Add
	argument.
	(target_can_download_tracepoint): Add argument.
	* target.c (update_current_target): Update.
	* remote.c (remote_can_download_tracepoint): Add 'self' argument.
This commit is contained in:
Tom Tromey 2013-12-17 21:40:01 -07:00
parent 548f7808ad
commit a52a8357cf
4 changed files with 12 additions and 4 deletions

View file

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