From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 29600 invoked by alias); 12 Nov 2002 08:40:12 -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 29586 invoked from network); 12 Nov 2002 08:40:11 -0000 Received: from unknown (HELO mx1.redhat.com) (66.187.233.31) by sources.redhat.com with SMTP; 12 Nov 2002 08:40:11 -0000 Received: from int-mx2.corp.redhat.com (nat-pool-rdu-dmz.redhat.com [172.16.52.200]) by mx1.redhat.com (8.11.6/8.11.6) with ESMTP id gAC8H5w22622 for ; Tue, 12 Nov 2002 03:17:06 -0500 Received: from potter.sfbay.redhat.com (potter.sfbay.redhat.com [172.16.27.15]) by int-mx2.corp.redhat.com (8.11.6/8.11.6) with ESMTP id gAC8e9x23443 for ; Tue, 12 Nov 2002 03:40:10 -0500 Received: from cygbert.vinschen.de (vpn50-21.rdu.redhat.com [172.16.50.21]) by potter.sfbay.redhat.com (8.11.6/8.11.6) with ESMTP id gAC8e7H08917 for ; Tue, 12 Nov 2002 00:40:07 -0800 Received: (from corinna@localhost) by cygbert.vinschen.de (8.11.6/8.9.3/Linux sendmail 8.9.3) id gAC8e0611162 for gdb@sources.redhat.com; Tue, 12 Nov 2002 09:40:00 +0100 Date: Tue, 12 Nov 2002 00:40:00 -0000 From: Corinna Vinschen To: gdb@sources.redhat.com Subject: Re: [RFC] File-I/O, target access to host file system via gdb , remote protocol enhancement Message-ID: <20021112093959.B10395@cygbert.vinschen.de> Reply-To: gdb@sources.redhat.com Mail-Followup-To: gdb@sources.redhat.com References: <20021111131354.N10395@cygbert.vinschen.de> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.3.22.1i X-SW-Source: 2002-11/txt/msg00113.txt.bz2 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