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

@ -1,3 +1,12 @@
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.
2014-02-19 Tom Tromey <tromey@redhat.com>
* target.h (struct target_ops) <to_call_history_range>: Add

View File

@ -11370,7 +11370,7 @@ remote_read_btrace (struct target_ops *self,
}
static int
remote_augmented_libraries_svr4_read (void)
remote_augmented_libraries_svr4_read (struct target_ops *self)
{
struct remote_state *rs = get_remote_state ();

View File

@ -947,7 +947,7 @@ update_current_target (void)
(int (*) (struct target_ops *))
return_zero);
de_fault (to_augmented_libraries_svr4_read,
(int (*) (void))
(int (*) (struct target_ops *))
return_zero);
de_fault (to_execution_direction, default_execution_direction);

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. */