summaryrefslogtreecommitdiff
path: root/gdb/record-btrace.c
diff options
context:
space:
mode:
authorTom Tromey <tromey@redhat.com>2013-12-17 21:48:16 -0700
committerTom Tromey <tromey@redhat.com>2014-02-19 07:46:54 -0700
commit9abc3ff39e21529b0252a5257f75f157ea919603 (patch)
tree5376bf55a48e1a4ddc0ffbf0d2936cf4fc84c320 /gdb/record-btrace.c
parent7a6c5609f76c156a95e314da790b331eace4137a (diff)
downloadbinutils-gdb-9abc3ff39e21529b0252a5257f75f157ea919603.tar.gz
Add target_ops argument to to_insn_history_from
2014-02-19 Tom Tromey <tromey@redhat.com> * target.h (struct target_ops) <to_insn_history_from>: Add argument. * target.c (target_insn_history_from): Add argument. * record-btrace.c (record_btrace_insn_history_from): Add 'self' argument.
Diffstat (limited to 'gdb/record-btrace.c')
-rw-r--r--gdb/record-btrace.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/gdb/record-btrace.c b/gdb/record-btrace.c
index ae2befff2ac..2e130df4213 100644
--- a/gdb/record-btrace.c
+++ b/gdb/record-btrace.c
@@ -450,7 +450,8 @@ record_btrace_insn_history_range (ULONGEST from, ULONGEST to, int flags)
/* The to_insn_history_from method of target record-btrace. */
static void
-record_btrace_insn_history_from (ULONGEST from, int size, int flags)
+record_btrace_insn_history_from (struct target_ops *self,
+ ULONGEST from, int size, int flags)
{
ULONGEST begin, end, context;