Add target_ops argument to to_call_history_from

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

	* target.h (struct target_ops) <to_call_history_from>: Add
	argument.
	* target.c (target_call_history_from): Add argument.
	* record-btrace.c (record_btrace_call_history_from): Add 'self'
	argument.
This commit is contained in:
Tom Tromey 2013-12-17 21:48:53 -07:00
parent 5df2fcba0d
commit ec0aea0490
4 changed files with 13 additions and 3 deletions

View file

@ -977,7 +977,8 @@ struct target_ops
at function FROM.
If SIZE < 0, print abs (SIZE) functions before FROM; otherwise, print
SIZE functions after FROM. */
void (*to_call_history_from) (ULONGEST begin, int size, int flags);
void (*to_call_history_from) (struct target_ops *,
ULONGEST begin, int size, int flags);
/* Print a function trace of an execution trace section from function BEGIN
(inclusive) to function END (inclusive). */