From 0d866f62e8517512fdc0fe92e3f2e4675b2d716f Mon Sep 17 00:00:00 2001 From: Tom Tromey Date: Tue, 17 Dec 2013 21:38:34 -0700 Subject: Add target_ops argument to to_fileio_pwrite 2014-02-19 Tom Tromey * target.h (struct target_ops) : Add argument. * target.c (target_fileio_pwrite): Add argument. * remote.c (remote_hostio_pwrite): Add 'self' argument. (remote_file_put): Update. * inf-child.c (inf_child_fileio_pwrite): Add 'self' argument. --- gdb/inf-child.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'gdb/inf-child.c') diff --git a/gdb/inf-child.c b/gdb/inf-child.c index cd2aee6..6486b2c 100644 --- a/gdb/inf-child.c +++ b/gdb/inf-child.c @@ -257,7 +257,8 @@ inf_child_fileio_open (struct target_ops *self, Return the number of bytes written, or -1 if an error occurs (and set *TARGET_ERRNO). */ static int -inf_child_fileio_pwrite (int fd, const gdb_byte *write_buf, int len, +inf_child_fileio_pwrite (struct target_ops *self, + int fd, const gdb_byte *write_buf, int len, ULONGEST offset, int *target_errno) { int ret; -- cgit v1.1