aboutsummaryrefslogtreecommitdiff
path: root/gdb/inf-child.c
diff options
context:
space:
mode:
authorTom Tromey <tromey@redhat.com>2013-12-17 21:38:21 -0700
committerTom Tromey <tromey@redhat.com>2014-02-19 07:46:10 -0700
commitcd897586764fedd7c5dec6266fcda7b1699015d1 (patch)
tree64a03b8dd9a45c82d6d9bb45c5319f3e5ed0e965 /gdb/inf-child.c
parent78eff0ec9d736c4a96bbd18c9bcd643d2a1edcea (diff)
downloadgdb-cd897586764fedd7c5dec6266fcda7b1699015d1.zip
gdb-cd897586764fedd7c5dec6266fcda7b1699015d1.tar.gz
gdb-cd897586764fedd7c5dec6266fcda7b1699015d1.tar.bz2
Add target_ops argument to to_fileio_open
2014-02-19 Tom Tromey <tromey@redhat.com> * target.h (struct target_ops) <to_fileio_open>: 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.
Diffstat (limited to 'gdb/inf-child.c')
-rw-r--r--gdb/inf-child.c3
1 files changed, 2 insertions, 1 deletions
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;