Add target_ops argument to to_can_use_agent

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

	* target.h (struct target_ops) <to_can_use_agent>: Add argument.
	(target_can_use_agent): Add argument.
	* target.c (update_current_target): Update.
	* remote.c (remote_can_use_agent): Add 'self' argument.
	* inf-child.c (inf_child_can_use_agent): Add 'self' argument.
This commit is contained in:
Tom Tromey
2013-12-17 21:45:22 -07:00
parent 2c152180b3
commit fe38f8971f
5 changed files with 13 additions and 5 deletions

View File

@ -944,7 +944,7 @@ update_current_target (void)
(int (*) (struct target_ops *, int))
tcomplain);
de_fault (to_can_use_agent,
(int (*) (void))
(int (*) (struct target_ops *))
return_zero);
de_fault (to_augmented_libraries_svr4_read,
(int (*) (void))