aboutsummaryrefslogtreecommitdiff
path: root/gdb/target.c
diff options
context:
space:
mode:
authorTom Tromey <tromey@redhat.com>2013-12-17 21:40:50 -0700
committerTom Tromey <tromey@redhat.com>2014-02-19 07:46:20 -0700
commit583f9a86a41ec94276dd56da8844a40add57f734 (patch)
tree89aa96c09d65325cd23d2de09a97ba752b568643 /gdb/target.c
parent780b049caa49b72635b2b84ef47d35c9c2f91473 (diff)
downloadgdb-583f9a86a41ec94276dd56da8844a40add57f734.zip
gdb-583f9a86a41ec94276dd56da8844a40add57f734.tar.gz
gdb-583f9a86a41ec94276dd56da8844a40add57f734.tar.bz2
Add target_ops argument to to_trace_set_readonly_regions
2014-02-19 Tom Tromey <tromey@redhat.com> * target.h (struct target_ops) <to_trace_set_readonly_regions>: Add argument. (target_trace_set_readonly_regions): Add argument. * target.c (update_current_target): Update. * remote.c (remote_trace_set_readonly_regions): 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 69ee756..cbdce77 100644
--- a/gdb/target.c
+++ b/gdb/target.c
@@ -867,7 +867,7 @@ update_current_target (void)
(void (*) (struct target_ops *, struct bp_location *))
tcomplain);
de_fault (to_trace_set_readonly_regions,
- (void (*) (void))
+ (void (*) (struct target_ops *))
tcomplain);
de_fault (to_trace_start,
(void (*) (void))