Add target_ops argument to to_insn_history_range

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

	* target.h (struct target_ops) <to_insn_history_range>: Add
	argument.
	* target.c (target_insn_history_range): Add argument.
	* record-btrace.c (record_btrace_insn_history_range): Add 'self'
	argument.
	(record_btrace_insn_history_from): Update.
This commit is contained in:
Tom Tromey
2013-12-17 21:48:29 -07:00
parent 9abc3ff39e
commit 4e99c6b708
4 changed files with 15 additions and 4 deletions

View File

@ -965,7 +965,8 @@ struct target_ops
/* Disassemble a section of the recorded execution trace from instruction
BEGIN (inclusive) to instruction END (inclusive). */
void (*to_insn_history_range) (ULONGEST begin, ULONGEST end, int flags);
void (*to_insn_history_range) (struct target_ops *,
ULONGEST begin, ULONGEST end, int flags);
/* Print a function trace of the recorded execution trace.
If SIZE < 0, print abs (SIZE) preceding functions; otherwise, print SIZE