From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 27155 invoked by alias); 28 Jun 2013 17:35:11 -0000 Mailing-List: contact gdb-patches-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sourceware.org Received: (qmail 27140 invoked by uid 89); 28 Jun 2013 17:35:11 -0000 X-Spam-SWARE-Status: No, score=-6.7 required=5.0 tests=AWL,BAYES_00,RCVD_IN_HOSTKARMA_W,RCVD_IN_HOSTKARMA_WL,RP_MATCHES_RCVD,SPF_HELO_PASS,SPF_PASS autolearn=ham version=3.3.1 Received: from mx1.redhat.com (HELO mx1.redhat.com) (209.132.183.28) by sourceware.org (qpsmtpd/0.84/v0.84-167-ge50287c) with ESMTP; Fri, 28 Jun 2013 17:35:10 +0000 Received: from int-mx01.intmail.prod.int.phx2.redhat.com (int-mx01.intmail.prod.int.phx2.redhat.com [10.5.11.11]) by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id r5SHZ69R030836 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK) for ; Fri, 28 Jun 2013 13:35:09 -0400 Received: from barimba (ovpn-113-102.phx2.redhat.com [10.3.113.102]) by int-mx01.intmail.prod.int.phx2.redhat.com (8.13.8/8.13.8) with ESMTP id r5SHZ5Zh014215 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES128-SHA bits=128 verify=NO); Fri, 28 Jun 2013 13:35:06 -0400 From: Tom Tromey To: Pedro Alves Cc: gdb-patches@sourceware.org Subject: Re: [PATCH] Make file transfer commands work with all (native) targets. References: <1371835506-15691-1-git-send-email-tromey@redhat.com> <1371835506-15691-5-git-send-email-tromey@redhat.com> <51C880C5.6050307@redhat.com> <87bo6rmhin.fsf@fleche.redhat.com> <51CDBAF6.4040209@redhat.com> Date: Fri, 28 Jun 2013 17:40:00 -0000 In-Reply-To: <51CDBAF6.4040209@redhat.com> (Pedro Alves's message of "Fri, 28 Jun 2013 17:33:58 +0100") Message-ID: <87wqpejfzq.fsf@fleche.redhat.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-SW-Source: 2013-06/txt/msg00897.txt.bz2 >>>>> "Pedro" == Pedro Alves writes: Pedro> Actually, doing this is quite easy, so I went ahead, in the name Pedro> of local/remote feature parity. We can connect to a local gdbserver Pedro> and do file transfer in the local system; there seems to be no Pedro> reason we can't do it with native debugging too. Looks good to me. Pedro> If this looks good, then a followup could move these routines Pedro> out of remote.c, and file-transfer.exp out of gdb.server/. Pedro> I considered aliasing "target put/get/delete" to "remote put/get/delete", Pedro> but didn't do it,as I didn't want to do too much in case you guys didn't Pedro> like this. The MI commands, and their description in the manual are Pedro> already target agnostic. I could go either way on this. Tom