This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [RFC 13/32] Add target_ops argument to to_get_ada_task_ptid


Looks fine to me.

On 01/13/2014 07:12 PM, Tom Tromey wrote:
> @@ -10036,7 +10037,8 @@ remote_bfd_iovec_open (struct bfd *abfd, void *open_closure)
>  
>    gdb_assert (remote_filename_p (filename));
>  
> -  fd = remote_hostio_open (filename + 7, FILEIO_O_RDONLY, 0, &remote_errno);
> +  fd = remote_hostio_open (find_target_at (process_stratum),
> +			   filename + 7, FILEIO_O_RDONLY, 0, &remote_errno);

Ah, I see find_target_at is indeed used in this series.

(I ought to somehow resurrect my patch to make this
work with native targets too.  I.e., use target_hostio_xxx
instead.)

-- 
Pedro Alves


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]