aboutsummaryrefslogtreecommitdiff
path: root/gdb/target.h
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/target.h
parent78eff0ec9d736c4a96bbd18c9bcd643d2a1edcea (diff)
downloadbinutils-cd897586764fedd7c5dec6266fcda7b1699015d1.zip
binutils-cd897586764fedd7c5dec6266fcda7b1699015d1.tar.gz
binutils-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/target.h')
-rw-r--r--gdb/target.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/gdb/target.h b/gdb/target.h
index c809c1b..68b3aee 100644
--- a/gdb/target.h
+++ b/gdb/target.h
@@ -716,7 +716,8 @@ struct target_ops
/* Open FILENAME on the target, using FLAGS and MODE. Return a
target file descriptor, or -1 if an error occurs (and set
*TARGET_ERRNO). */
- int (*to_fileio_open) (const char *filename, int flags, int mode,
+ int (*to_fileio_open) (struct target_ops *,
+ const char *filename, int flags, int mode,
int *target_errno);
/* Write up to LEN bytes from WRITE_BUF to FD on the target.