convert to_set_syscall_catchpoint

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

	* target-delegates.c: Rebuild.
	* target.c (update_current_target): Don't inherit or default
	to_set_syscall_catchpoint.
	(return_one): Remove.
	* target.h (struct target_ops) <to_set_syscall_catchpoint>: Use
	TARGET_DEFAULT_RETURN.
This commit is contained in:
Tom Tromey
2013-12-18 10:46:38 -07:00
parent cda0f38c9e
commit 6a9fa05147
4 changed files with 28 additions and 13 deletions

View File

@ -533,7 +533,8 @@ struct target_ops
int (*to_remove_exec_catchpoint) (struct target_ops *, int)
TARGET_DEFAULT_RETURN (1);
int (*to_set_syscall_catchpoint) (struct target_ops *,
int, int, int, int, int *);
int, int, int, int, int *)
TARGET_DEFAULT_RETURN (1);
int (*to_has_exited) (struct target_ops *, int, int, int *);
void (*to_mourn_inferior) (struct target_ops *);
int (*to_can_run) (struct target_ops *);