This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [PATCH 3/9] Make gdb_bfd_open able to open BFDs using target fileio
- From: Pedro Alves <palves at redhat dot com>
- To: Gary Benson <gbenson at redhat dot com>, gdb-patches at sourceware dot org
- Date: Wed, 01 Apr 2015 13:12:57 +0100
- Subject: Re: [PATCH 3/9] Make gdb_bfd_open able to open BFDs using target fileio
- Authentication-results: sourceware.org; auth=none
- References: <1426870087-32654-1-git-send-email-gbenson at redhat dot com> <1426870087-32654-4-git-send-email-gbenson at redhat dot com>
On 03/20/2015 04:48 PM, Gary Benson wrote:
> This commit updates gdb_bfd_open to access files using target
> fileio functions if the supplied path starts with "target:"
> and if the local and target filesystems are not the same.
> This allows users to specify "set sysroot target:" and have
> GDB access files locally or from the remote as appropriate.
>
> The new functions in gdb_bfd.c are copies of functions from
> remote.c. This duplication is intentional and will be removed
> by the next commit in this series.
OK.
Thanks,
Pedro Alves