diff options
author | Tom Tromey <tromey@redhat.com> | 2013-12-17 21:38:34 -0700 |
---|---|---|
committer | Tom Tromey <tromey@redhat.com> | 2014-02-19 07:46:11 -0700 |
commit | 0d866f62e8517512fdc0fe92e3f2e4675b2d716f (patch) | |
tree | d18e12c078f0b4194c89c3bad3bdc6f5190c4262 /gdb/target.h | |
parent | cd897586764fedd7c5dec6266fcda7b1699015d1 (diff) | |
download | binutils-0d866f62e8517512fdc0fe92e3f2e4675b2d716f.zip binutils-0d866f62e8517512fdc0fe92e3f2e4675b2d716f.tar.gz binutils-0d866f62e8517512fdc0fe92e3f2e4675b2d716f.tar.bz2 |
Add target_ops argument to to_fileio_pwrite
2014-02-19 Tom Tromey <tromey@redhat.com>
* target.h (struct target_ops) <to_fileio_pwrite>: 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.
Diffstat (limited to 'gdb/target.h')
-rw-r--r-- | gdb/target.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/gdb/target.h b/gdb/target.h index 68b3aee..02b66d7 100644 --- a/gdb/target.h +++ b/gdb/target.h @@ -723,7 +723,8 @@ struct target_ops /* Write up to LEN bytes from WRITE_BUF to FD on the target. Return the number of bytes written, or -1 if an error occurs (and set *TARGET_ERRNO). */ - int (*to_fileio_pwrite) (int fd, const gdb_byte *write_buf, int len, + int (*to_fileio_pwrite) (struct target_ops *, + int fd, const gdb_byte *write_buf, int len, ULONGEST offset, int *target_errno); /* Read up to LEN bytes FD on the target into READ_BUF. |