aboutsummaryrefslogtreecommitdiff
path: root/gdb/target.c
diff options
context:
space:
mode:
authorTom Tromey <tromey@redhat.com>2013-12-17 21:39:11 -0700
committerTom Tromey <tromey@redhat.com>2014-02-19 07:46:13 -0700
commitdbbca37d38772f0f75296b01b757225278eb51fc (patch)
tree558564b53947b27dcc91244d0e4b9e044063b485 /gdb/target.c
parentdf39ea259cf099cb2de3d26905078dddf47832cd (diff)
downloadgdb-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/target.c')
-rw-r--r--gdb/target.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/target.c b/gdb/target.c
index 8767b57..2c4b6b6 100644
--- a/gdb/target.c
+++ b/gdb/target.c
@@ -3483,7 +3483,7 @@ target_fileio_unlink (const char *filename, int *target_errno)
{
if (t->to_fileio_unlink != NULL)
{
- int ret = t->to_fileio_unlink (filename, target_errno);
+ int ret = t->to_fileio_unlink (t, filename, target_errno);
if (targetdebug)
fprintf_unfiltered (gdb_stdlog,