aboutsummaryrefslogtreecommitdiff
path: root/gdb/remote.c
diff options
context:
space:
mode:
authorTom Tromey <tromey@redhat.com>2013-12-17 21:46:13 -0700
committerTom Tromey <tromey@redhat.com>2014-02-19 07:46:45 -0700
commit39c49f83b643618704b1a89e0b14680090a17f97 (patch)
tree819ae82be1fb0a8d0fa409e8718f5436992b8609 /gdb/remote.c
parent1777056d68eff4d68e0e00314d6050abaf9dff5f (diff)
downloadgdb-39c49f83b643618704b1a89e0b14680090a17f97.zip
gdb-39c49f83b643618704b1a89e0b14680090a17f97.tar.gz
gdb-39c49f83b643618704b1a89e0b14680090a17f97.tar.bz2
Add target_ops argument to to_read_btrace
2014-02-19 Tom Tromey <tromey@redhat.com> * target.h (struct target_ops) <to_read_btrace>: Add argument. * target.c (struct target_ops) <to_read_btrace>: Add argument. * remote.c (struct target_ops) <to_read_btrace>: Add 'self' argument. * amd64-linux-nat.c (amd64_linux_read_btrace): New function. (_initialize_amd64_linux_nat): Use it. * i386-linux-nat.c (i386_linux_read_btrace): New function. (_initialize_i386_linux_nat): Use it.
Diffstat (limited to 'gdb/remote.c')
-rw-r--r--gdb/remote.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/gdb/remote.c b/gdb/remote.c
index b77ea81..eb8eb0f 100644
--- a/gdb/remote.c
+++ b/gdb/remote.c
@@ -11322,7 +11322,8 @@ remote_teardown_btrace (struct target_ops *self,
/* Read the branch trace. */
static enum btrace_error
-remote_read_btrace (VEC (btrace_block_s) **btrace,
+remote_read_btrace (struct target_ops *self,
+ VEC (btrace_block_s) **btrace,
struct btrace_target_info *tinfo,
enum btrace_read_type type)
{