Add target_ops argument to to_upload_trace_state_variables

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

	* target.h (struct target_ops) <to_upload_trace_state_variables>:
	Add argument.
	(target_upload_trace_state_variables): Add argument.
	* target.c (update_current_target): Update.
	* remote.c (remote_upload_trace_state_variables): Add 'self'
	argument.
	(remote_start_remote): Update.
This commit is contained in:
Tom Tromey 2013-12-17 21:42:42 -07:00
parent ab6617cc1b
commit 181e3713eb
4 changed files with 19 additions and 6 deletions

View file

@ -896,7 +896,7 @@ update_current_target (void)
(int (*) (struct target_ops *, struct uploaded_tp **))
return_zero);
de_fault (to_upload_trace_state_variables,
(int (*) (struct uploaded_tsv **))
(int (*) (struct target_ops *, struct uploaded_tsv **))
return_zero);
de_fault (to_get_raw_trace_data,
(LONGEST (*) (gdb_byte *, ULONGEST, LONGEST))