mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-06-19 00:59:15 +08:00
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.
This commit is contained in:
@ -3430,7 +3430,7 @@ target_fileio_pread (int fd, gdb_byte *read_buf, int len,
|
||||
{
|
||||
if (t->to_fileio_pread != NULL)
|
||||
{
|
||||
int ret = t->to_fileio_pread (fd, read_buf, len, offset,
|
||||
int ret = t->to_fileio_pread (t, fd, read_buf, len, offset,
|
||||
target_errno);
|
||||
|
||||
if (targetdebug)
|
||||
|
Reference in New Issue
Block a user