diff options
author | Tom Tromey <tromey@redhat.com> | 2013-12-17 21:39:11 -0700 |
---|---|---|
committer | Tom Tromey <tromey@redhat.com> | 2014-02-19 07:46:13 -0700 |
commit | dbbca37d38772f0f75296b01b757225278eb51fc (patch) | |
tree | 558564b53947b27dcc91244d0e4b9e044063b485 /gdb/inf-child.c | |
parent | df39ea259cf099cb2de3d26905078dddf47832cd (diff) | |
download | gdb-dbbca37d38772f0f75296b01b757225278eb51fc.zip gdb-dbbca37d38772f0f75296b01b757225278eb51fc.tar.gz gdb-dbbca37d38772f0f75296b01b757225278eb51fc.tar.bz2 |
Add target_ops argument to to_fileio_unlink
2014-02-19 Tom Tromey <tromey@redhat.com>
* target.h (struct target_ops) <to_fileio_unlink>: Add argument.
* target.c (target_fileio_unlink): Add argument.
* remote.c (remote_hostio_unlink): Add 'self' argument.
(remote_file_delete): Update.
* inf-child.c (inf_child_fileio_unlink): Add 'self' argument.
Diffstat (limited to 'gdb/inf-child.c')
-rw-r--r-- | gdb/inf-child.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/gdb/inf-child.c b/gdb/inf-child.c index 01bf1af..eb7550a 100644 --- a/gdb/inf-child.c +++ b/gdb/inf-child.c @@ -328,7 +328,8 @@ inf_child_fileio_close (struct target_ops *self, int fd, int *target_errno) /* Unlink FILENAME on the target. Return 0, or -1 if an error occurs (and set *TARGET_ERRNO). */ static int -inf_child_fileio_unlink (const char *filename, int *target_errno) +inf_child_fileio_unlink (struct target_ops *self, + const char *filename, int *target_errno) { int ret; |