aboutsummaryrefslogtreecommitdiff
path: root/gdb/target.h
diff options
context:
space:
mode:
authorTom Tromey <tromey@redhat.com>2013-12-17 21:38:59 -0700
committerTom Tromey <tromey@redhat.com>2014-02-19 07:46:13 -0700
commitdf39ea259cf099cb2de3d26905078dddf47832cd (patch)
tree93085f53a93ab0a0c3b436da9f0d215aa0c6705c /gdb/target.h
parenta3be983cee10c1bcd7cda582c3bb91c065ad97a2 (diff)
downloadbinutils-df39ea259cf099cb2de3d26905078dddf47832cd.zip
binutils-df39ea259cf099cb2de3d26905078dddf47832cd.tar.gz
binutils-df39ea259cf099cb2de3d26905078dddf47832cd.tar.bz2
Add target_ops argument to to_fileio_close
2014-02-19 Tom Tromey <tromey@redhat.com> * target.h (struct target_ops) <to_fileio_close>: Add argument. * target.c (target_fileio_close): Add argument. * remote.c (remote_hostio_close): Add 'self' argument. (remote_hostio_close_cleanup): Update. (remote_bfd_iovec_close, remote_file_put, remote_file_get): Update. * inf-child.c (inf_child_fileio_close): Add 'self' argument.
Diffstat (limited to 'gdb/target.h')
-rw-r--r--gdb/target.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/target.h b/gdb/target.h
index eb83cb9..e2dddc7 100644
--- a/gdb/target.h
+++ b/gdb/target.h
@@ -736,7 +736,7 @@ struct target_ops
/* Close FD on the target. Return 0, or -1 if an error occurs
(and set *TARGET_ERRNO). */
- int (*to_fileio_close) (int fd, int *target_errno);
+ int (*to_fileio_close) (struct target_ops *, int fd, int *target_errno);
/* Unlink FILENAME on the target. Return 0, or -1 if an error
occurs (and set *TARGET_ERRNO). */