forked from Imagelibrary/binutils-gdb
Add target_ops argument to to_get_trace_status
2014-02-19 Tom Tromey <tromey@redhat.com> * tracepoint.c (tfile_get_trace_status): Add 'self' argument. * target.h (struct target_ops) <to_get_trace_status>: Add argument. (target_get_trace_status): Add argument. * target.c (update_current_target): Update. * remote.c (remote_get_trace_status): Add 'self' argument. (remote_start_remote, remote_can_download_tracepoint): Update. * ctf.c (ctf_get_trace_status): Add 'self' argument.
This commit is contained in:
@@ -873,7 +873,7 @@ update_current_target (void)
|
||||
(void (*) (struct target_ops *))
|
||||
tcomplain);
|
||||
de_fault (to_get_trace_status,
|
||||
(int (*) (struct trace_status *))
|
||||
(int (*) (struct target_ops *, struct trace_status *))
|
||||
return_minus_one);
|
||||
de_fault (to_get_tracepoint_status,
|
||||
(void (*) (struct breakpoint *, struct uploaded_tp *))
|
||||
|
||||
Reference in New Issue
Block a user