Add target_ops argument to to_get_min_fast_tracepoint_insn_len

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

	* target.h (struct target_ops)
	<to_get_min_fast_tracepoint_insn_len>: Add argument.
	(target_get_min_fast_tracepoint_insn_len): Add argument.
	* target.c (update_current_target): Update.
	* remote.c (remote_get_min_fast_tracepoint_insn_len): Add 'self'
	argument.
This commit is contained in:
Tom Tromey
2013-12-17 21:43:06 -07:00
parent 88ee6f45bb
commit 0e67620a27
4 changed files with 13 additions and 4 deletions

View File

@ -902,7 +902,7 @@ update_current_target (void)
(LONGEST (*) (struct target_ops *, gdb_byte *, ULONGEST, LONGEST))
tcomplain);
de_fault (to_get_min_fast_tracepoint_insn_len,
(int (*) (void))
(int (*) (struct target_ops *))
return_minus_one);
de_fault (to_set_disconnected_tracing,
(void (*) (int))