mirror of
https://github.com/bminor/binutils-gdb.git
synced 2025-12-27 09:38:57 +00: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:
@@ -1095,7 +1095,8 @@ i386_linux_disable_btrace (struct target_ops *self,
|
||||
/* Teardown branch tracing. */
|
||||
|
||||
static void
|
||||
i386_linux_teardown_btrace (struct btrace_target_info *tinfo)
|
||||
i386_linux_teardown_btrace (struct target_ops *self,
|
||||
struct btrace_target_info *tinfo)
|
||||
{
|
||||
/* Ignore errors. */
|
||||
linux_disable_btrace (tinfo);
|
||||
|
||||
Reference in New Issue
Block a user