mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-06-26 13:56:22 +08:00
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.
This commit is contained in:
@ -921,7 +921,8 @@ struct target_ops
|
||||
DATA is cleared before new trace is added.
|
||||
The branch trace will start with the most recent block and continue
|
||||
towards older blocks. */
|
||||
enum btrace_error (*to_read_btrace) (VEC (btrace_block_s) **data,
|
||||
enum btrace_error (*to_read_btrace) (struct target_ops *self,
|
||||
VEC (btrace_block_s) **data,
|
||||
struct btrace_target_info *btinfo,
|
||||
enum btrace_read_type type);
|
||||
|
||||
|
Reference in New Issue
Block a user