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

@ -1768,7 +1768,7 @@ ctf_thread_alive (struct target_ops *ops, ptid_t ptid)
traceframe_info. */
static struct traceframe_info *
ctf_traceframe_info (void)
ctf_traceframe_info (struct target_ops *self)
{
struct traceframe_info *info = XCNEW (struct traceframe_info);
const char *name;