mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-06-19 09:14:14 +08:00
Add target_ops argument to to_fileio_close
2014-02-19 Tom Tromey <tromey@redhat.com> * target.h (struct target_ops) <to_fileio_close>: Add argument. * target.c (target_fileio_close): Add argument. * remote.c (remote_hostio_close): Add 'self' argument. (remote_hostio_close_cleanup): Update. (remote_bfd_iovec_close, remote_file_put, remote_file_get): Update. * inf-child.c (inf_child_fileio_close): Add 'self' argument.
This commit is contained in:
@ -3458,7 +3458,7 @@ target_fileio_close (int fd, int *target_errno)
|
||||
{
|
||||
if (t->to_fileio_close != NULL)
|
||||
{
|
||||
int ret = t->to_fileio_close (fd, target_errno);
|
||||
int ret = t->to_fileio_close (t, fd, target_errno);
|
||||
|
||||
if (targetdebug)
|
||||
fprintf_unfiltered (gdb_stdlog,
|
||||
|
Reference in New Issue
Block a user