Add target_ops argument to to_call_history_range

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

	* target.h (struct target_ops) <to_call_history_range>: Add
	argument.
	* target.c (target_call_history_range): Add argument.
	* record-btrace.c (record_btrace_call_history_range): Add 'self'
	argument.
	(record_btrace_call_history_from): Update.
This commit is contained in:
Tom Tromey
2013-12-17 21:49:06 -07:00
parent ec0aea0490
commit f0d960ea2f
4 changed files with 15 additions and 4 deletions

View File

@ -982,7 +982,8 @@ struct target_ops
/* Print a function trace of an execution trace section from function BEGIN
(inclusive) to function END (inclusive). */
void (*to_call_history_range) (ULONGEST begin, ULONGEST end, int flags);
void (*to_call_history_range) (struct target_ops *,
ULONGEST begin, ULONGEST end, int flags);
/* Nonzero if TARGET_OBJECT_LIBRARIES_SVR4 may be read with a
non-empty annex. */