Add target_ops argument to to_augmented_libraries_svr4_read

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

	* target.h (struct target_ops) <to_augmented_libraries_svr4_read>:
	Add argument.
	(target_augmented_libraries_svr4_read): Add argument.
	* target.c (update_current_target): Update.
	* remote.c (remote_augmented_libraries_svr4_read): Add 'self'
	argument.
This commit is contained in:
Tom Tromey
2013-12-17 21:49:18 -07:00
parent f0d960ea2f
commit 5436ff0304
4 changed files with 13 additions and 4 deletions

View File

@ -987,7 +987,7 @@ struct target_ops
/* Nonzero if TARGET_OBJECT_LIBRARIES_SVR4 may be read with a
non-empty annex. */
int (*to_augmented_libraries_svr4_read) (void);
int (*to_augmented_libraries_svr4_read) (struct target_ops *);
/* Those unwinders are tried before any other arch unwinders. Use NULL if
it is not used. */
@ -1893,7 +1893,7 @@ extern char *target_fileio_read_stralloc (const char *filename);
(*current_target.to_can_use_agent) (&current_target)
#define target_augmented_libraries_svr4_read() \
(*current_target.to_augmented_libraries_svr4_read) ()
(*current_target.to_augmented_libraries_svr4_read) (&current_target)
/* Command logging facility. */