Add target_ops argument to to_call_history

2014-02-19  Tom Tromey  <tromey@redhat.com>

	* target.h (struct target_ops) <to_call_history>: Add argument.
	* target.c (target_call_history): Add argument.
	* record-btrace.c (record_btrace_call_history): Add 'self'
	argument.
This commit is contained in:
Tom Tromey
2013-12-17 21:48:41 -07:00
parent 4e99c6b708
commit 5df2fcba0d
4 changed files with 10 additions and 3 deletions

View File

@ -4464,7 +4464,7 @@ target_call_history (int size, int flags)
for (t = current_target.beneath; t != NULL; t = t->beneath)
if (t->to_call_history != NULL)
{
t->to_call_history (size, flags);
t->to_call_history (t, size, flags);
return;
}