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

@ -866,7 +866,8 @@ struct target_ops
1 if the value is known and writing the value itself into the
location pointed to by VAL, else returning 0. */
int (*to_get_trace_state_variable_value) (struct target_ops *,
int tsv, LONGEST *val);
int tsv, LONGEST *val)
TARGET_DEFAULT_RETURN (0);
int (*to_save_trace_data) (struct target_ops *, const char *filename);