From fab5aa7c3fe5e60c877469a1e4c9c551e343409e Mon Sep 17 00:00:00 2001 From: Tom Tromey Date: Tue, 17 Dec 2013 21:39:24 -0700 Subject: Add target_ops argument to to_fileio_readlink 2014-02-19 Tom Tromey * target.h (struct target_ops) : Add argument. * target.c (target_fileio_readlink): Add argument. * remote.c (remote_hostio_readlink): Add 'self' argument. * inf-child.c (inf_child_fileio_readlink): Add 'self' argument. --- gdb/target.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'gdb/target.h') diff --git a/gdb/target.h b/gdb/target.h index 5d5802e..626da3e 100644 --- a/gdb/target.h +++ b/gdb/target.h @@ -746,7 +746,8 @@ struct target_ops /* Read value of symbolic link FILENAME on the target. Return a null-terminated string allocated via xmalloc, or NULL if an error occurs (and set *TARGET_ERRNO). */ - char *(*to_fileio_readlink) (const char *filename, int *target_errno); + char *(*to_fileio_readlink) (struct target_ops *, + const char *filename, int *target_errno); /* Implement the "info proc" command. */ -- cgit v1.1