mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-06-24 12:23:31 +08:00
Add target_ops argument to to_teardown_btrace
2014-02-19 Tom Tromey <tromey@redhat.com> * target.h (struct target_ops) <to_teardown_btrace>: Add argument. * target.c (target_teardown_btrace): Add argument. * remote.c (remote_teardown_btrace): Add 'self' argument. * i386-linux-nat.c (i386_linux_teardown_btrace): Add 'self' argument. * amd64-linux-nat.c (amd64_linux_teardown_btrace): Add 'self' argument.
This commit is contained in:
@ -914,7 +914,8 @@ struct target_ops
|
||||
to to_disable_btrace, except that it is called during teardown and is
|
||||
only allowed to perform actions that are safe. A counter-example would
|
||||
be attempting to talk to a remote target. */
|
||||
void (*to_teardown_btrace) (struct btrace_target_info *tinfo);
|
||||
void (*to_teardown_btrace) (struct target_ops *,
|
||||
struct btrace_target_info *tinfo);
|
||||
|
||||
/* Read branch trace data for the thread indicated by BTINFO into DATA.
|
||||
DATA is cleared before new trace is added.
|
||||
|
Reference in New Issue
Block a user