Add target_ops argument to to_set_permissions

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

	* target.h (struct target_ops) <to_set_permissions>: Add argument.
	(target_set_permissions): Add argument.
	* target.c (update_current_target): Update.
	* remote.c (remote_set_permissions): Add 'self' argument.
	(remote_start_remote): Update.
This commit is contained in:
Tom Tromey
2013-12-17 21:44:20 -07:00
parent bd7ae0f5ac
commit c378d69dff
4 changed files with 14 additions and 6 deletions

View File

@ -921,7 +921,7 @@ update_current_target (void)
(int (*) (struct target_ops *, ptid_t, CORE_ADDR *))
tcomplain);
de_fault (to_set_permissions,
(void (*) (void))
(void (*) (struct target_ops *))
target_ignore);
de_fault (to_static_tracepoint_marker_at,
(int (*) (CORE_ADDR, struct static_tracepoint_marker *))