From cd897586764fedd7c5dec6266fcda7b1699015d1 Mon Sep 17 00:00:00 2001 From: Tom Tromey Date: Tue, 17 Dec 2013 21:38:21 -0700 Subject: Add target_ops argument to to_fileio_open 2014-02-19 Tom Tromey * target.h (struct target_ops) : Add argument. * target.c (target_fileio_open): Add argument. * remote.c (remote_hostio_open): Add 'self' argument. (remote_bfd_iovec_open): Add 'self' argument. (remote_file_put): Add 'self' argument. (remote_file_get): Add 'self' argument. * inf-child.c (inf_child_fileio_open): Add 'self' argument. --- gdb/inf-child.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'gdb/inf-child.c') diff --git a/gdb/inf-child.c b/gdb/inf-child.c index e047636..cd2aee6 100644 --- a/gdb/inf-child.c +++ b/gdb/inf-child.c @@ -231,7 +231,8 @@ inf_child_errno_to_fileio_error (int errnum) target file descriptor, or -1 if an error occurs (and set *TARGET_ERRNO). */ static int -inf_child_fileio_open (const char *filename, int flags, int mode, +inf_child_fileio_open (struct target_ops *self, + const char *filename, int flags, int mode, int *target_errno) { int nat_flags; -- cgit v1.1