* target.h (struct target): <to_download_tracepoint> Change type

of parameter from tracepoint to bp_location.
	* target.c (update_current_target): Update.
	* tracepoint.c (start_tracing): Update.
	* remote.c (remote_download_tracepoint): Remove loop for each location
	of a tracepoint.
This commit is contained in:
Yao Qi
2011-11-14 14:11:36 +00:00
parent 9301f9c3e3
commit e8ba31153a
5 changed files with 158 additions and 150 deletions

View File

@@ -686,8 +686,8 @@ struct target_ops
/* Prepare the target for a tracing run. */
void (*to_trace_init) (void);
/* Send full details of a tracepoint to the target. */
void (*to_download_tracepoint) (struct breakpoint *t);
/* Send full details of a tracepoint location to the target. */
void (*to_download_tracepoint) (struct bp_location *location);
/* Send full details of a trace state variable to the target. */
void (*to_download_trace_state_variable) (struct trace_state_variable *tsv);