convert to_trace_find

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

	* target-delegates.c: Rebuild.
	* target.c (update_current_target): Don't inherit or default
	to_trace_find.
	* target.h (struct target_ops): Use TARGET_DEFAULT_RETURN.
This commit is contained in:
Tom Tromey 2013-12-18 14:08:14 -07:00
parent e51c07ea4a
commit afc94e66d4
4 changed files with 26 additions and 6 deletions

View file

@ -699,7 +699,7 @@ update_current_target (void)
/* Do not inherit to_get_trace_status. */
/* Do not inherit to_get_tracepoint_status. */
/* Do not inherit to_trace_stop. */
INHERIT (to_trace_find, t);
/* Do not inherit to_trace_find. */
INHERIT (to_get_trace_state_variable_value, t);
INHERIT (to_save_trace_data, t);
INHERIT (to_upload_tracepoints, t);
@ -752,10 +752,6 @@ update_current_target (void)
(void (*) (struct target_ops *, ptid_t))
target_ignore);
current_target.to_read_description = NULL;
de_fault (to_trace_find,
(int (*) (struct target_ops *,
enum trace_find_type, int, CORE_ADDR, CORE_ADDR, int *))
return_minus_one);
de_fault (to_get_trace_state_variable_value,
(int (*) (struct target_ops *, int, LONGEST *))
return_zero);