Add target_ops argument to to_set_syscall_catchpoint

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

	* target.h (struct target_ops) <to_set_syscall_catchpoint>: Add
	argument.
	(target_set_syscall_catchpoint): Add argument.
	* linux-nat.c (linux_child_set_syscall_catchpoint): Add 'self'
	argument.
	* target.c (update_current_target): Update.
This commit is contained in:
Tom Tromey 2013-12-17 21:33:06 -07:00
parent 758e29d2cd
commit ff214e679c
4 changed files with 16 additions and 4 deletions

View file

@ -810,7 +810,7 @@ update_current_target (void)
(int (*) (struct target_ops *, int))
return_one);
de_fault (to_set_syscall_catchpoint,
(int (*) (int, int, int, int, int *))
(int (*) (struct target_ops *, int, int, int, int, int *))
return_one);
de_fault (to_has_exited,
(int (*) (int, int, int *))