aboutsummaryrefslogtreecommitdiff
path: root/gdb/target.c
diff options
context:
space:
mode:
authorTom Tromey <tromey@redhat.com>2013-12-17 21:47:27 -0700
committerTom Tromey <tromey@redhat.com>2014-02-19 07:46:51 -0700
commit084758178fb0d29f57f4041d89ac027cd32834a3 (patch)
treed8e66a1cb5fd203670353dc31c29cf573e632411 /gdb/target.c
parent1c63c99491f9581d3f76d116cedcbfa5f124ca5a (diff)
downloadgdb-084758178fb0d29f57f4041d89ac027cd32834a3.zip
gdb-084758178fb0d29f57f4041d89ac027cd32834a3.tar.gz
gdb-084758178fb0d29f57f4041d89ac027cd32834a3.tar.bz2
Add target_ops argument to to_goto_record_begin
2014-02-19 Tom Tromey <tromey@redhat.com> * target.h (struct target_ops) <to_goto_record_begin>: Add argument. * target.c (target_goto_record_begin): Add argument. * record-full.c (record_full_goto_begin): Add 'self' argument. * record-btrace.c (record_btrace_goto_begin): 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 5c7bb4a..ef02b8e 100644
--- a/gdb/target.c
+++ b/gdb/target.c
@@ -4362,7 +4362,7 @@ target_goto_record_begin (void)
for (t = current_target.beneath; t != NULL; t = t->beneath)
if (t->to_goto_record_begin != NULL)
{
- t->to_goto_record_begin ();
+ t->to_goto_record_begin (t);
return;
}