convert to_execution_direction

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

	* target-delegates.c: Rebuild.
	* target.c (update_current_target): Don't inherit or default
	to_execution_direction.
	* target.h (struct target_ops) <to_execution_direction>: Use
	TARGET_DEFAULT_FUNC.
This commit is contained in:
Tom Tromey
2013-12-18 11:15:21 -07:00
parent 53e1cfc77f
commit fe31bf5b9e
4 changed files with 24 additions and 3 deletions

View File

@ -707,7 +707,8 @@ struct target_ops
/* The direction the target is currently executing. Must be
implemented on targets that support reverse execution and async
mode. The default simply returns forward execution. */
enum exec_direction_kind (*to_execution_direction) (struct target_ops *);
enum exec_direction_kind (*to_execution_direction) (struct target_ops *)
TARGET_DEFAULT_FUNC (default_execution_direction);
/* Does this target support debugging multiple processes
simultaneously? */