convert to_get_trace_status

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_status.
	* target.h (struct target_ops) <to_get_trace_status>: Use
	TARGET_DEFAULT_RETURN.
This commit is contained in:
Tom Tromey
2013-12-18 14:06:18 -07:00
parent 25da2e807e
commit 4072d4ff86
4 changed files with 27 additions and 5 deletions

View File

@ -840,7 +840,8 @@ struct target_ops
TARGET_DEFAULT_NORETURN (tcomplain ());
/* Get the current status of a tracing run. */
int (*to_get_trace_status) (struct target_ops *, struct trace_status *ts);
int (*to_get_trace_status) (struct target_ops *, struct trace_status *ts)
TARGET_DEFAULT_RETURN (-1);
void (*to_get_tracepoint_status) (struct target_ops *,
struct breakpoint *tp,