aboutsummaryrefslogtreecommitdiff
path: root/gdb/inf-child.c
diff options
context:
space:
mode:
authorTom Tromey <tromey@redhat.com>2013-12-17 21:39:24 -0700
committerTom Tromey <tromey@redhat.com>2014-02-19 07:46:14 -0700
commitfab5aa7c3fe5e60c877469a1e4c9c551e343409e (patch)
treec08e04150822930a416261f08e31dfb199c27cff /gdb/inf-child.c
parentdbbca37d38772f0f75296b01b757225278eb51fc (diff)
downloadgdb-fab5aa7c3fe5e60c877469a1e4c9c551e343409e.zip
gdb-fab5aa7c3fe5e60c877469a1e4c9c551e343409e.tar.gz
gdb-fab5aa7c3fe5e60c877469a1e4c9c551e343409e.tar.bz2
Add target_ops argument to to_fileio_readlink
2014-02-19 Tom Tromey <tromey@redhat.com> * target.h (struct target_ops) <to_fileio_readlink>: Add argument. * target.c (target_fileio_readlink): Add argument. * remote.c (remote_hostio_readlink): Add 'self' argument. * inf-child.c (inf_child_fileio_readlink): Add 'self' argument.
Diffstat (limited to 'gdb/inf-child.c')
-rw-r--r--gdb/inf-child.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/gdb/inf-child.c b/gdb/inf-child.c
index eb7550a..054e279 100644
--- a/gdb/inf-child.c
+++ b/gdb/inf-child.c
@@ -344,7 +344,8 @@ inf_child_fileio_unlink (struct target_ops *self,
null-terminated string allocated via xmalloc, or NULL if an error
occurs (and set *TARGET_ERRNO). */
static char *
-inf_child_fileio_readlink (const char *filename, int *target_errno)
+inf_child_fileio_readlink (struct target_ops *self,
+ const char *filename, int *target_errno)
{
/* We support readlink only on systems that also provide a compile-time
maximum path length (PATH_MAX), at least for now. */