From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 30344 invoked by alias); 13 Aug 2014 10:28:38 -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 30319 invoked by uid 89); 13 Aug 2014 10:28:36 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-3.2 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_LOW,RP_MATCHES_RCVD,SPF_PASS autolearn=ham version=3.3.2 X-HELO: mail-vc0-f174.google.com Received: from mail-vc0-f174.google.com (HELO mail-vc0-f174.google.com) (209.85.220.174) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (AES128-SHA encrypted) ESMTPS; Wed, 13 Aug 2014 10:28:35 +0000 Received: by mail-vc0-f174.google.com with SMTP id la4so14725104vcb.19 for ; Wed, 13 Aug 2014 03:28:33 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:date :message-id:subject:from:to:cc:content-type; bh=8pCUQkXo/hcxdJkr6+8vyXYKib4w5GMmZupN60/PpcA=; b=mrZvL0SrZAFEYQm+DJQSb0Ym9H6w9b6K75zrBvkwUhzj0BODxTXI2tlvXuKwMbJNtJ d6QKeLF3Vjmm6RwDuBnoqVCMG2PQlpO950T3UOO8zwkdwc6buarVVyKrE4lzy2fvOS3n p3eJBJdP5EwgHmvtjiebUt7nV0ONGlfGbyxXh6LrfqM3dLUipBtdCqaguLdDMDCi5Dr1 cFdZYK2ZDXcMR0QjeUa3k80wGmEfQbBDT+OpgwL0vqhnZj2dNu4x1zy7Rex2Wy/fyUGL YvuQF7g3+cYQ2VFNkHjEKXyCzSxnQq2stOCh+Zz/7F0Saj+jpByqwEB6TTFKFRVGJmr0 P6bA== X-Gm-Message-State: ALoCoQmOANC+hyZBGv+ufV0rhkHZtLhyDiGfGPxSCbgCfhc1XjFfFqJuuTjNRp+IJzIBu1DyV77q MIME-Version: 1.0 X-Received: by 10.52.234.228 with SMTP id uh4mr2345978vdc.34.1407925713549; Wed, 13 Aug 2014 03:28:33 -0700 (PDT) Received: by 10.52.136.203 with HTTP; Wed, 13 Aug 2014 03:28:33 -0700 (PDT) In-Reply-To: <53EAA9C3.2090303@earthlink.net> References: <1407849103-16521-1-git-send-email-yao@codesourcery.com> <21482.19388.251662.22760@ruffy.mtv.corp.google.com> <53EAA9C3.2090303@earthlink.net> Date: Wed, 13 Aug 2014 10:28:00 -0000 Message-ID: Subject: Re: [PATCH] Copy .py files to remote host From: Doug Evans To: Stan Shebs Cc: Yao Qi , gdb-patches Content-Type: text/plain; charset=UTF-8 X-IsSubscribed: yes X-SW-Source: 2014-08/txt/msg00218.txt.bz2 On Tue, Aug 12, 2014 at 4:56 PM, Stan Shebs wrote: > On 8/12/14, 10:15 AM, Doug Evans wrote: >> [...] >> I still have an outstanding question on this topic, >> and before this gets checked in I'd like to get it resolved. >> Do we delete other files downloaded to the remote target? [For clarity's sake: I meant to say "remote host" here, not "remote target".] > Going by instances of remote_file delete in the testsuite, > it's at least semi-standard to do so. It certainly reduces > the chances of confusion for any functionality that is based > on searching for a matching file to load/process. To collect some data, I ran an experiment to see what kinds of files were left on the remote host. I didn't use boards/local-remote-host*, I wanted to get something closer to real remote host testing and remove any possible confusion on my part. It took a bit and in the end I made a simple albeit ugly hack to my .bashrc since I just wanted to collect some data. I see source files, object files, binaries left on the remote host. That's what I expected, and that's what led me to say: >>Since we've gotten by this long without doing so >>[and this is *still* just a hypothesis - I haven't worked with >>remote hosts in awhile ...] >>I would rather just punt on deleting python files as well, >>and document that that is the convention (since for every other >>file it already is :-)). I think my claim that that is already the convention for every other file is at least not totally invalid. :-) Maybe effort went into cleaning up remote target files because they can have vastly smaller file systems. btw, t would be good to have another version of local-remote-host* that more closely mapped real remote host testing to improve coverage, assuming remote host testing is still done by someone these days (possible alright).