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:
Tom Tromey
2013-12-17 21:46:00 -07:00
parent 25e95349d8
commit 1777056d68
6 changed files with 19 additions and 5 deletions

View File

@@ -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;
}