forked from Imagelibrary/binutils-gdb
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:
@@ -4232,7 +4232,7 @@ target_teardown_btrace (struct btrace_target_info *btinfo)
|
||||
for (t = current_target.beneath; t != NULL; t = t->beneath)
|
||||
if (t->to_teardown_btrace != NULL)
|
||||
{
|
||||
t->to_teardown_btrace (btinfo);
|
||||
t->to_teardown_btrace (t, btinfo);
|
||||
return;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user