Add target_ops argument to to_read_btrace
authorTom Tromey <tromey@redhat.com>
Wed, 18 Dec 2013 04:46:13 +0000 (21:46 -0700)
committerTom Tromey <tromey@redhat.com>
Wed, 19 Feb 2014 14:46:45 +0000 (07:46 -0700)
commit39c49f83b643618704b1a89e0b14680090a17f97
tree819ae82be1fb0a8d0fa409e8718f5436992b8609
parent1777056d68eff4d68e0e00314d6050abaf9dff5f
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.
gdb/ChangeLog
gdb/amd64-linux-nat.c
gdb/i386-linux-nat.c
gdb/remote.c
gdb/target.c
gdb/target.h