diff options
author | Tom Tromey <tromey@redhat.com> | 2013-12-17 21:38:46 -0700 |
---|---|---|
committer | Tom Tromey <tromey@redhat.com> | 2014-02-19 07:46:12 -0700 |
commit | a3be983cee10c1bcd7cda582c3bb91c065ad97a2 (patch) | |
tree | 43e1d2669b2c8a5aa4b3639bd132cac291ff1d4b /gdb/target.h | |
parent | 0d866f62e8517512fdc0fe92e3f2e4675b2d716f (diff) | |
download | binutils-a3be983cee10c1bcd7cda582c3bb91c065ad97a2.zip binutils-a3be983cee10c1bcd7cda582c3bb91c065ad97a2.tar.gz binutils-a3be983cee10c1bcd7cda582c3bb91c065ad97a2.tar.bz2 |
Add target_ops argument to to_fileio_pread
2014-02-19 Tom Tromey <tromey@redhat.com>
* target.h (struct target_ops) <to_fileio_pread>: Add argument.
* target.c (target_fileio_pread): Add argument.
* remote.c (remote_hostio_pread): Add 'self' argument.
(remote_bfd_iovec_pread, remote_file_get): Update.
* inf-child.c (inf_child_fileio_pread): 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 02b66d7..eb83cb9 100644 --- a/gdb/target.h +++ b/gdb/target.h @@ -730,7 +730,8 @@ struct target_ops /* Read up to LEN bytes FD on the target into READ_BUF. Return the number of bytes read, or -1 if an error occurs (and set *TARGET_ERRNO). */ - int (*to_fileio_pread) (int fd, gdb_byte *read_buf, int len, + int (*to_fileio_pread) (struct target_ops *, + int fd, gdb_byte *read_buf, int len, ULONGEST offset, int *target_errno); /* Close FD on the target. Return 0, or -1 if an error occurs |