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

@ -859,7 +859,8 @@ struct target_ops
operation fails. */
int (*to_trace_find) (struct target_ops *,
enum trace_find_type type, int num,
CORE_ADDR addr1, CORE_ADDR addr2, int *tpp);
CORE_ADDR addr1, CORE_ADDR addr2, int *tpp)
TARGET_DEFAULT_RETURN (-1);
/* Get the value of the trace state variable number TSV, returning
1 if the value is known and writing the value itself into the