From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 27223 invoked by alias); 12 Nov 2002 06:01:15 -0000 Mailing-List: contact gdb-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sources.redhat.com Received: (qmail 27192 invoked from network); 12 Nov 2002 06:01:12 -0000 Received: from unknown (HELO is.elta.co.il) (199.203.121.2) by sources.redhat.com with SMTP; 12 Nov 2002 06:01:12 -0000 Received: from is (is [199.203.121.2]) by is.elta.co.il (8.9.3/8.8.8) with SMTP id IAA15592 for ; Tue, 12 Nov 2002 08:01:13 +0200 (IST) Date: Mon, 11 Nov 2002 22:01:00 -0000 From: Eli Zaretskii X-Sender: eliz@is To: gdb@sources.redhat.com Subject: Re: [RFC] File-I/O, target access to host file system via gdb , remote protocol enhancement In-Reply-To: <20021111131354.N10395@cygbert.vinschen.de> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-SW-Source: 2002-11/txt/msg00112.txt.bz2 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. I'm also wondering why do you need `stat' in addition to `fstat'. Other than that, sounds like a very good idea to me.