aboutsummaryrefslogtreecommitdiff
path: root/gdb/target.c
diff options
context:
space:
mode:
authorTom Tromey <tromey@redhat.com>2013-12-17 21:42:17 -0700
committerTom Tromey <tromey@redhat.com>2014-02-19 07:46:27 -0700
commitdc3decafdd646f0f61f68322e56fb423e306efa9 (patch)
treeeb51b43e8f65e54241c27b9c105c4756b9085106 /gdb/target.c
parent4011015ba220e1f55b4e105e9feb7eaf78703681 (diff)
downloadgdb-dc3decafdd646f0f61f68322e56fb423e306efa9.zip
gdb-dc3decafdd646f0f61f68322e56fb423e306efa9.tar.gz
gdb-dc3decafdd646f0f61f68322e56fb423e306efa9.tar.bz2
Add target_ops argument to to_save_trace_data
2014-02-19 Tom Tromey <tromey@redhat.com> * target.h (struct target_ops) <to_save_trace_data>: Add argument. (target_save_trace_data): Add argument. * target.c (update_current_target): Update. * remote.c (remote_save_trace_data): Add 'self' argument.
Diffstat (limited to 'gdb/target.c')
-rw-r--r--gdb/target.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/target.c b/gdb/target.c
index 0860a56..75e3a8a 100644
--- a/gdb/target.c
+++ b/gdb/target.c
@@ -890,7 +890,7 @@ update_current_target (void)
(int (*) (struct target_ops *, int, LONGEST *))
return_zero);
de_fault (to_save_trace_data,
- (int (*) (const char *))
+ (int (*) (struct target_ops *, const char *))
tcomplain);
de_fault (to_upload_tracepoints,
(int (*) (struct uploaded_tp **))