Add target_ops argument to to_supports_disable_randomization

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

	* target.h (struct target_ops)
	<to_supports_disable_randomization>: Add argument.
	* target.c (find_default_supports_disable_randomization): Add
	argument.
	(target_supports_disable_randomization): Add argument.
	(find_default_supports_disable_randomization): Add 'self'
	argument.
	* remote.c (extended_remote_supports_disable_randomization): Add
	'self' argument.
	(remote_supports_disable_randomization): Add 'self' argument.
	(extended_remote_create_inferior): Update.
	* linux-nat.c (linux_nat_supports_disable_randomization): Add
	'self' argument.
This commit is contained in:
Tom Tromey
2013-12-17 21:37:32 -07:00
parent 7d178d6aa5
commit 2bfc0540a2
5 changed files with 24 additions and 8 deletions

View File

@ -679,7 +679,7 @@ struct target_ops
int (*to_supports_enable_disable_tracepoint) (struct target_ops *);
/* Does this target support disabling address space randomization? */
int (*to_supports_disable_randomization) (void);
int (*to_supports_disable_randomization) (struct target_ops *);
/* Does this target support the tracenz bytecode for string collection? */
int (*to_supports_string_tracing) (void);