[RFC 13/32] Add target_ops argument to to_get_ada_task_ptid

Pedro Alves palves@redhat.com
Tue Jan 14 13:21:00 GMT 2014


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



More information about the Gdb-patches mailing list