This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [PATCH 6/7] Implement multiple-filesystem support for remote targets
- From: Gary Benson <gbenson at redhat dot com>
- To: Pedro Alves <palves at redhat dot com>
- Cc: gdb-patches at sourceware dot org
- Date: Fri, 17 Apr 2015 16:59:58 +0100
- Subject: Re: [PATCH 6/7] Implement multiple-filesystem support for remote targets
- Authentication-results: sourceware.org; auth=none
- References: <1429186791-6867-1-git-send-email-gbenson at redhat dot com> <1429186791-6867-7-git-send-email-gbenson at redhat dot com> <5531217B dot 5090004 at redhat dot com>
Pedro Alves wrote:
> On 04/16/2015 01:19 PM, Gary Benson wrote:
> > --- a/gdb/remote.c
> > +++ b/gdb/remote.c
> > @@ -367,6 +367,12 @@ struct remote_state
> >
> > /* The branch trace configuration. */
> > struct btrace_config btrace_config;
> > +
> > + /* The argument to the last "vFile:setfs:" packet we sent, used
> > + to avoid sending repeated unnecessary "vFile:setfs:" packets.
> > + Initialized to -1 to indicate that no "vFile:setfs:" packet
> > + has yet been sent. */
> > + int fs_pid;
> > };
> >
>
> > +/* Process ID of inferior whose filesystem remote_hostio functions
> > + that take FILENAME arguments will use. Zero means to use the
> > + remote stub's filesystem. */
> > +
> > +static int remote_fs_pid = 0;
>
> What's the rationale for not putting this one in "struct
> remote_state" ?
I don't have one :) Would you prefer it there?
Cheers,
Gary
--
http://gbenson.net/