diff options
author | Tom Tromey <tromey@redhat.com> | 2013-12-17 21:41:27 -0700 |
---|---|---|
committer | Tom Tromey <tromey@redhat.com> | 2014-02-19 07:46:23 -0700 |
commit | db90e85c816768fbe50c79477cd596071349af9c (patch) | |
tree | 3591c8997d8f95f9c1cb1674a2d0d4551f4b0591 /gdb/target.c | |
parent | 8bd200f160af128f9e963490de816b6c98af2d1a (diff) | |
download | gdb-db90e85c816768fbe50c79477cd596071349af9c.zip gdb-db90e85c816768fbe50c79477cd596071349af9c.tar.gz gdb-db90e85c816768fbe50c79477cd596071349af9c.tar.bz2 |
Add target_ops argument to to_get_tracepoint_status
2014-02-19 Tom Tromey <tromey@redhat.com>
* tracepoint.c (tfile_get_tracepoint_status): Add 'self' argument.
* target.h (struct target_ops) <to_get_tracepoint_status>: Add
argument.
(target_get_tracepoint_status): Add argument.
* target.c (update_current_target): Update.
* remote.c (remote_get_tracepoint_status): Add 'self' argument.
Diffstat (limited to 'gdb/target.c')
-rw-r--r-- | gdb/target.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/gdb/target.c b/gdb/target.c index 1d069b7..19c436d 100644 --- a/gdb/target.c +++ b/gdb/target.c @@ -876,7 +876,8 @@ update_current_target (void) (int (*) (struct target_ops *, struct trace_status *)) return_minus_one); de_fault (to_get_tracepoint_status, - (void (*) (struct breakpoint *, struct uploaded_tp *)) + (void (*) (struct target_ops *, struct breakpoint *, + struct uploaded_tp *)) tcomplain); de_fault (to_trace_stop, (void (*) (void)) |