This is the mail archive of the
gdb@sources.redhat.com
mailing list for the GDB project.
Re: [RFC] File-I/O, target access to host file system via gdb , remote protocol enhancement
On Tue, Nov 12, 2002 at 08:01:13AM +0200, Eli Zaretskii wrote:
> On Mon, 11 Nov 2002, Corinna Vinschen wrote:
> > this RFC tries to introduce a remote protocol enhancement, which
> > already has been implemented at Red Hat. The idea is to allow
> > the remote target (which likely has no own file system at all)
> > to access the host file system to store and retrieve data from
> > a gdb session, as if the hosts filesystem is local to the target.
>
> I think you will eventually want `dup' and `dup2' primitives in addition
> to what you described.
Sure. As I wrote, it's easy to add more system calls at some
later point. The proposal introduces what is already implemented.
> I'm also wondering why do you need `stat' in addition to `fstat'.
These are the calls which seem to server best to implement first
applications. I think it's hard to find a collection of "best"
calls from the beginning.
> Other than that, sounds like a very good idea to me.
Thanks!
Corinna
--
Corinna Vinschen
Cygwin Developer
Red Hat, Inc.
mailto:vinschen@redhat.com