Add target_ops argument to to_traceframe_info

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

	* tracepoint.c (tfile_traceframe_info): Add 'self' argument.
	* target.h (struct target_ops) <to_traceframe_info>: Add argument.
	(target_traceframe_info): Add argument.
	* target.c (update_current_target): Update.
	* remote.c (remote_traceframe_info): Add 'self' argument.
	* ctf.c (ctf_traceframe_info): Add 'self' argument.
This commit is contained in:
Tom Tromey
2013-12-17 21:44:57 -07:00
parent c686c57f02
commit a893e81f18
6 changed files with 15 additions and 6 deletions

View File

@ -932,7 +932,7 @@ update_current_target (void)
const char *))
tcomplain);
de_fault (to_traceframe_info,
(struct traceframe_info * (*) (void))
(struct traceframe_info * (*) (struct target_ops *))
return_null);
de_fault (to_supports_evaluation_of_breakpoint_conditions,
(int (*) (struct target_ops *))