Add target_ops argument to to_save_trace_data

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

	* target.h (struct target_ops) <to_save_trace_data>: Add argument.
	(target_save_trace_data): Add argument.
	* target.c (update_current_target): Update.
	* remote.c (remote_save_trace_data): Add 'self' argument.
This commit is contained in:
Tom Tromey 2013-12-17 21:42:17 -07:00
parent 4011015ba2
commit dc3decafdd
4 changed files with 11 additions and 4 deletions

View file

@ -890,7 +890,7 @@ update_current_target (void)
(int (*) (struct target_ops *, int, LONGEST *))
return_zero);
de_fault (to_save_trace_data,
(int (*) (const char *))
(int (*) (struct target_ops *, const char *))
tcomplain);
de_fault (to_upload_tracepoints,
(int (*) (struct uploaded_tp **))