Add target_ops argument to to_insn_history

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

	* target.h (struct target_ops) <to_insn_history>: Add argument.
	* target.c (target_insn_history): Add argument.
	* record-btrace.c (record_btrace_insn_history): Add 'self'
	argument.
This commit is contained in:
Tom Tromey
2013-12-17 21:48:04 -07:00
parent 606183ac2c
commit 7a6c5609f7
4 changed files with 10 additions and 3 deletions

View File

@ -954,7 +954,7 @@ struct target_ops
the current position.
If SIZE < 0, disassemble abs (SIZE) preceding instructions; otherwise,
disassemble SIZE succeeding instructions. */
void (*to_insn_history) (int size, int flags);
void (*to_insn_history) (struct target_ops *, int size, int flags);
/* Disassemble SIZE instructions in the recorded execution trace around
FROM.