From dbbca37d38772f0f75296b01b757225278eb51fc Mon Sep 17 00:00:00 2001 From: Tom Tromey Date: Tue, 17 Dec 2013 21:39:11 -0700 Subject: Add target_ops argument to to_fileio_unlink 2014-02-19 Tom Tromey * target.h (struct target_ops) : 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. --- gdb/target.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'gdb/target.h') diff --git a/gdb/target.h b/gdb/target.h index e2dddc7..5d5802e 100644 --- a/gdb/target.h +++ b/gdb/target.h @@ -740,7 +740,8 @@ struct target_ops /* Unlink FILENAME on the target. Return 0, or -1 if an error occurs (and set *TARGET_ERRNO). */ - int (*to_fileio_unlink) (const char *filename, int *target_errno); + int (*to_fileio_unlink) (struct target_ops *, + const char *filename, int *target_errno); /* Read value of symbolic link FILENAME on the target. Return a null-terminated string allocated via xmalloc, or NULL if an error -- cgit v1.1