convert to_get_trace_state_variable_value

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

	* target-delegates.c: Rebuild.
	* target.c (update_current_target): Don't inherit or default
	to_get_trace_state_variable_value.
	* target.h (struct target_ops)
	<to_get_trace_state_variable_value>: Use TARGET_DEFAULT_RETURN.
This commit is contained in:
Tom Tromey 2013-12-18 14:09:04 -07:00
parent afc94e66d4
commit 959bcd0b39
4 changed files with 27 additions and 5 deletions

View file

@ -700,7 +700,7 @@ update_current_target (void)
/* Do not inherit to_get_tracepoint_status. */
/* Do not inherit to_trace_stop. */
/* Do not inherit to_trace_find. */
INHERIT (to_get_trace_state_variable_value, t);
/* Do not inherit to_get_trace_state_variable_value. */
INHERIT (to_save_trace_data, t);
INHERIT (to_upload_tracepoints, t);
INHERIT (to_upload_trace_state_variables, t);
@ -752,9 +752,6 @@ update_current_target (void)
(void (*) (struct target_ops *, ptid_t))
target_ignore);
current_target.to_read_description = NULL;
de_fault (to_get_trace_state_variable_value,
(int (*) (struct target_ops *, int, LONGEST *))
return_zero);
de_fault (to_save_trace_data,
(int (*) (struct target_ops *, const char *))
tcomplain);